Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
NBA Player Performance Analysis (1990–2024)
|
| 2 |
+
|
| 3 |
+
This project analyzes NBA player performance trends from 1990 to 2024 using season-level data. The goal was to clean, explore, visualize, and interpret long-term changes in scoring, assists, 3-point shooting, and player height. The dataset was filtered to include only NBA players, and the selected features were Season_Year, PTS, AST, 3PM, and height_cm. After cleaning, the final dataset contained 7,633 rows and 6 columns.
|
| 4 |
+
|
| 5 |
+
Dataset Overview
|
| 6 |
+
Source: players_stats_by_season_full_details.csv
|
| 7 |
+
Filtered to NBA players only
|
| 8 |
+
Years included: 1990–2024
|
| 9 |
+
Final shape: 7,633 rows × 6 columns
|
| 10 |
+
Selected features: Season_Year, PTS, AST, 3PM, height_cm
|
| 11 |
+
|
| 12 |
+
Data Cleaning
|
| 13 |
+
- Removed non-NBA rows
|
| 14 |
+
- Dropped missing values
|
| 15 |
+
- Extracted numeric year from season strings
|
| 16 |
+
- Converted selected columns to numeric types
|
| 17 |
+
- Filtered dataset to valid timeline (1990–2024)
|
| 18 |
+
- Calculated yearly averages
|
| 19 |
+
- Validated summary statistics
|
| 20 |
+
|
| 21 |
+
Research Questions
|
| 22 |
+
1. How have points and assists per player changed over time?
|
| 23 |
+
2. How did 3-point shooting evolve between 1990 and 2024?
|
| 24 |
+
3. Did the average height of NBA players change over time?
|
| 25 |
+
4. What is the relationship between scoring, assists, height, and 3PM?
|
| 26 |
+
5. Does the NBA rely more on isolation scoring or on teamwork over time?
|
| 27 |
+
|
| 28 |
+
Visualizations and Insights
|
| 29 |
+
|
| 30 |
+
Average Points and Assists per Player (1990–2024)
|
| 31 |
+

|
| 32 |
+
Points remained consistently high, while assists grew gradually. This indicates an increase in offensive efficiency and ball movement across the league.
|
| 33 |
+
|
| 34 |
+
Average 3-Point Shots Made per Player
|
| 35 |
+

|
| 36 |
+
A major increase occurred after 2010, representing the shift toward perimeter play and analytics-driven shooting strategies.
|
| 37 |
+
|
| 38 |
+
Average Player Height Over Time
|
| 39 |
+

|
| 40 |
+
Player height remained mostly constant, showing that strategic evolution, not physical change, drove the transformation of NBA play style.
|
| 41 |
+
|
| 42 |
+
Points vs Assists Over Time
|
| 43 |
+

|
| 44 |
+
There is a clear positive relationship between assists and points. Newer seasons tend to appear higher on the trendline, indicating improvements in teamwork and shot creation.
|
| 45 |
+
|
| 46 |
+
Points-to-Assists Ratio
|
| 47 |
+

|
| 48 |
+
The ratio shows fluctuations across eras, reflecting tactical shifts between isolation-heavy scoring and team-oriented offenses.
|
| 49 |
+
|
| 50 |
+
Correlation Matrix
|
| 51 |
+

|
| 52 |
+
Key correlations:
|
| 53 |
+
- Points and assists: strongly positive
|
| 54 |
+
- Height and 3PM: moderately negative
|
| 55 |
+
- Height and points: slightly negative
|
| 56 |
+
- 3PM and points: weakly positive
|
| 57 |
+
|
| 58 |
+
Summary of Findings
|
| 59 |
+
1. Average points per player increased slightly over time.
|
| 60 |
+
2. Assists per player grew steadily, indicating improved teamwork and spacing.
|
| 61 |
+
3. Three-point shooting exploded after 2010, marking the biggest tactical shift in modern basketball.
|
| 62 |
+
4. Player height remained stable, suggesting that versatility and spacing became more important than size.
|
| 63 |
+
5. The points-to-assists ratio shows how team dynamics evolved between eras.
|
| 64 |
+
|
| 65 |
+
Overall Result
|
| 66 |
+
The NBA evolved from slower, isolation-heavy basketball into a modern, fast-paced, perimeter-oriented, analytics-driven style of play. The transformation was driven mainly by strategic and tactical changes rather than changes in player physical profiles.
|
| 67 |
+
|
| 68 |
+
Files Included
|
| 69 |
+
- Copy_of_Assignment_1.ipynb
|
| 70 |
+
- cleaned_nba_data.csv
|
| 71 |
+
- players_stats_by_season_full_details.csv
|
| 72 |
+
- Visualization files (img 1.png, img 2.png, img 3.png, img 4.png, img 5.png, img 6.png)
|
| 73 |
+
- README.md
|
| 74 |
+
|
| 75 |
+
Video Presentation
|
| 76 |
+
A link to the video presentation will be added here when available.
|