Week 14/15 Blog: The Last One
Now that the break had started i realised i had to just sit down and work on my data project. The main struggle at first was sitting down and doing solid blocks of work, because without a central plan I didn’t get very far every time i sat down to work.
Once I sat down and created a list of coding problems I had to solve, as well as a list of the graphs I would want to create i found it far easier to work on it. The main problem I encountered was finding a way to link the gross income of each film with the value on each genre’s column, what I wanted to do was to add the gross value to a variable for the genre if the value in that genre’s column was True. At first i struggled greatly with this but after I realised that If Iwas searching for solutions to one huge function I wanted to create I’d need to break down step by step what that function wanted to do then look into ways to do each small step in python and add them all together. It took a lot of time but once I completed that I was able to move onto graphing all my graphs.
Finally there was one last issue I was unable to solve. That was that while I was able to create a variable that could be changed on its own to select a 5 year period in time and apply it to all the graphs I’d made so you could see the way genre’s popularity changed over time. I had to change it manually in my notebook each time it was changed, as I couldn’t get the Widgits interactive slider to work in my VM and jupyter notebook. Time eventually made it impossible to solve that issue and I didn’t get that interactive slider which detracted from my presentation on the Friday because I focused too heavily on the lack of this feature rather than simply continuing to analyse my data set.
GitHub Collaboration Links: https://github.com/JoshuaCoady/code1161base/pull/1 (proof of accepting a request)
https://github.com/cathyvu/cathyvu/pull/5 (proof of doing a pull request)