r/learnpython • • May 10 '20

Beginner Python data analysis project - critique greatly welcome!

Hi everyone,

I just finished my first Python data analysis project, and being a total beginner, I could really use some other perspectives as to the quality of my final product. I plan on building a portfolio of similar projects and using it for applying to social science research assistant jobs where some programming and analysis ability is highly preferred. Since I am entirely self-taught, I need some concrete examples of what I can do to share with potential employers.

With that said, while I'm sure there are areas that could be improved, would my project be worth sharing with some edits? Or is it actually just a total flaming trash heap that should be scrapped entirely? Positive critique and helpful suggestions appreciated!

Project

Edit: Wow, I did not expect to wake up to so many comments and upvotes! I really needed this boost, to be honest. I'm so grateful for everyone's kindness and suggestions, and I'm definitely going to go back and try and tweak some things! I hope I can pay it forward one day, but for now, to fellow noobs who are trying to set up their first project - just go do it! I basically just forced myself to create something after learning the basics, and it really helps the learning process to break things down and figure out how they work outside of a guided tutorial. Keep coding!

Edit 2: I've uploaded a new version of the project since this was posted, taking into account some of the suggestions everyone has made. It's still not perfect, but I think it's time to move onto learning with new projects.

361 Upvotes

68 comments sorted by

View all comments

1

u/chaoticneutral May 10 '20

I think this is a great descriptive analysis, very clearly written and thought out but the topic is a bit touchy and your conclusions aren't particularly ground breaking to warrant the topic (incident count increases with population for almost all things).

A research position may appreciate the in-depth dive on a sensitive topic, but I would pick a more neutral topic with a generic private sector job.

Specific to your analysis, you should also call out that far right outlier on your final regression chart or run the regression a second time without the outlier. It is clearly pulling the line upwards.

1

u/BeforetheBullfight May 11 '20

Thanks for your comment! I'm glad that the writing was clear after all.

I concede that the topic is touchy, but it was a conscientious decision. Since I am looking at academic research positions, and am planning on returning to school for my PhD, I wanted to look at datasets that reflected topics similar to my own personal research interests. With that said, I definitely would have chosen more "generic" topics were I pursuing private sector jobs.

Also, I do plan on going back to work on my regression chart, hopefully for the better.