This repo contains my solution to the Phillies Baseball R&D Questionnaire. The files are hosted on Google Colab here:
-
Part A: https://colab.research.google.com/github/owenmccadden/phillies_salary_data/blob/main/part_a.ipynb
-
Part B: https://colab.research.google.com/github/owenmccadden/phillies_salary_data/blob/main/part_b.ipynb
-
Notes: https://colab.research.google.com/github/owenmccadden/phillies_salary_data/blob/main/notes.ipynb
-
Questionairre: https://questionnaire-148920.appspot.com/swe/
-
Data: https://questionnaire-148920.appspot.com/swe/data.html
My solution to Part A is contained within part_a.ipynb. My solution includes a description of changes to the given function as well as my own implementation.
My solution to Part B is contained within part_b.ipynb. I also included a file notes.ipynb. This file contains some of my notes and thought process for working with the given dataset. My final, refined solution is within part_b.ipynb. In addition to top 125 salaries, I also included the same computation and visualizations for the entire salary distribution.