This project analyzes shooting incidents in New York City using the NYPD dataset. The notebook covers data wrangling, handling missing values, outliers, transformations, EDA, correlations, and visualizations.
- Python
- Pandas — data wrangling & preprocessing
- Matplotlib & Seaborn — charts and visualizations
- Folium — interactive heatmap
| File/Folder | Description |
|---|---|
NYPD_Shooting_Incident_Project.ipynb |
Main Jupyter Notebook with the full analysis |
data.csv |
Dataset used for the project |
docs/ |
Contains the interactive heatmap (heatmap.html) |
images/ |
Contains images and previews used in the project |
README.md |
Project documentation |
You can get this project in two ways:
Option 1 – Using Git
git clone https://github.com/adirbella37/NYPD-Shooting-Incident-Project.git
cd NYPD-Shooting-Incident-ProjectOption 2 – Download as ZIP
- Click the green Code button at the top of this repository
- Select Download ZIP
- Extract the ZIP file on your computer
- Contrary to expectations, shooting incidents are almost evenly split between day and night.
- Incident rates rise steadily at the beginning of the year, peak in July, and then decline — likely due to targeted police intervention in Brooklyn.
- Surprisingly, around 70% of outdoor incidents involve older age groups, despite the assumption that they would exercise more discretion.
This project is licensed under the MIT License.
