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

0

u/[deleted] May 10 '20

[deleted]

1

u/BeforetheBullfight May 11 '20 edited May 11 '20

Thanks for your thoughts!

Re: the "credibly accused" bit - that was already predetermined by those who compiled the dataset, but I think it's a good idea to include a note on definition. The dataset itself was actually pretty limited in its scope, and thus why you noticed some gaps in narrative. For example, there was no data on specifics for criminal vs. church investigation or what they defined as a "catholic population", so at best I could only make guesses there.

Basically, I think working with this dataset was a good example of keeping in mind how important it is to maintain consistency on the compiling side of things - "alive" or "dead (1956)" weren't my within my concept of a helpful variable either, but I could only work with what I had available. I'll add some more notes on these gaps in my intro.

Also, I think I should clarify that I chose this dataset because I'm aiming for academic research positions and eventually grad school, including labs where this sort of topic is a focus (and an interest I share). It was a conscientious choice, and I wouldn't have chosen it if I were applying for more "generic" type positions.

Regarding the coding part, I acknowledge my graphs need work, and I plan on trying to address those issues for round 2. Cheers!