Hi there, I have a data set (http://app.lms.unimelb.edu.au/bbcswebdav/courses/600151_2008_1/datasets/entertainment/moviestats_large.csv), and i was just wondering the best way of tackling the question stated below:
Which director is the most productive?
I an new to python and wondering if anyone could help me out a little on this problem. I have considered trying to average total earnings for each director and then do an average on the total amount of movies but i am unsure of how to go about that. Any help would be greatly appreciated.
Thanks
sch0009
0
Newbie Poster
Recommended Answers
Jump to PostI can't see your data, so I can only guess at what it might contain. But I would think that to find the "most productive" director, you'd want to find the average for each director, and sort these averages. Your best bet would probably be a dictionary tying the directors …
Jump to PostCan you give us just a short subset of the .csv file? We are not allowed access to the page. This way we can help you.
All 6 Replies
kdoiron
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
sch0009
0
Newbie Poster
bvdet
75
Junior Poster
sch0009
0
Newbie Poster
bvdet
75
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.