NBA Data Analysis:
Do Birthdays Affect Player Performance?
-In this Dataset I will explore NBA Data from the past 5 seasons of games and try to find out if player performance is changes when it is a player's birthday
Background Info:
- This data takes a look at the top 12 players per team based on total minutes
- This data will explore three main statistical categories
- I chose to examine players stats on the day of their birthday
- I chose to examine players stats on the day after their birthday as well
Retrieving Data:
-I pulled in my data from the official NBA API for player and team statistics 'nba_api' and converted them to CSV files to be used in this notebook
-API stands for "Application Programming Interface"
-I used it to pull in 4 separate datasets
Installing/Importing Packages:
Run to view results
Reading in my CSV Files as Dataframes:
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Dropping Duplicate Values:
Run to view results
Data Analysis:
First Step was to compile a dataframe of players stats on their birthdays and average them by season
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Next we need gather the same players season averages to compare with:
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Showing the % difference in games played on birthdays and their season averages
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Lets compare Performances on Birthdays to their previous 10 game averages
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Showing the % differences between games played on birthdays and previous 10 game averages
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Takeaways:
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results
Run to view results