This project aims to analyze the performance of the Los Angeles Lakers during the 2023 regular season and playoffs. We focus on key metrics including Player Efficiency Rating (PER), True Shooting Percentage (TS%), Total Rebound Percentage (TRB%), Assist Percentage (AST%), and Usage Percentage (USG%). The analysis helps identify top contributors, compare regular season and playoff performances, and provides actionable insights for improvement.
The data used in this project is sourced from Basketball Reference. We have included both regular season and playoff statistics for the Los Angeles Lakers and other successful NBA teams in 2023.
The project is structured as follows:
data/: Contains the CSV files with regular season and playoff statistics.notebooks/: Jupyter notebooks used for data cleaning, analysis, and visualization.output/: Output files, including plots and comparison tables.README.md: Project overview and instructions.LICENSE: License information.
- Player Efficiency Rating (PER)
- True Shooting Percentage (TS%)
- Total Rebound Percentage (TRB%)
- Assist Percentage (AST%)
- Usage Percentage (USG%)
- Data Loading and Cleaning: Load data from CSV files and clean it by removing unnecessary columns and filling missing values.
- Key Metrics Calculation: Calculate average metrics for each team's regular season and playoff data.
- Top Contributors Identification: Identify top contributors based on PER.
- Performance Comparison: Compare regular season and playoff performances for the Lakers.
- Contextualizing Contributions: Identify players with decreased performance in key areas during the playoffs and provide actionable insights.
To run the analysis, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/lakers-performance-analysis.git
-
Navigate to the project directory:
cd lakers-performance-analysis -
Install the required packages:
pip install -r requirements.txt
-
Open the Jupyter notebook:
jupyter notebook notebooks/analysis.ipynb
When using data from Basketball Reference, please cite it as follows:
Data provided by Basketball Reference, a website that provides comprehensive basketball statistics. Available at: https://www.basketball-reference.com/
This project is licensed under the MIT License. See the LICENSE file for more information.
We thank Basketball Reference for providing the data used in this analysis. We also acknowledge the contributions of all project members.
We welcome contributions to enhance this project. Please feel free to submit a pull request or open an issue on GitHub.