Reflection
Since last class, I haven’t accomplished as much as I wanted to, but I am slowly making progress. One thing that has helped me out is drawing out my project. I mentioned in my update 2 that at times I was getting confused with some of my code (which is never a good thing). Drawing it out made it easier for me to complete my milestones. Currently I am working on finding a way to take in user input. I made a table that has all the names of nba/wnba players, but have not figured out a way to search the user input within the table. The while loop keeps starting over without printing the results. I think once I am done with this step, everything else should be fairly easy since my other options are similar in structure to this first one.
Snapshot
Milestones
Completed
- make men and women salaries into txt files
- Check dataset for error
- create main menu
- create numbered options for men, women, compare
- read through each data set
- create specific options for users under each data set
- create user option to see salary based on specific team
-
[x] create specific options for users under each data set
- change option to only search last name
- make table with all last names
- make table for position
-
[x] make dictionary of teams (kinda) To be continued:
- use regex to find user input
- make functions to print out top 5 salaries for both men and women
- create dictionary with players and salaries
- format dictionary to make it readable to user (table/tab)
-
[ ] create function to find mean, median, mode
- allow user to see salary based on position
- create visualization
- handle bad user input
- create functionality to help option
- add random facts about the data
Stretch - [ ] include regex