Learn practical skills, build real-world projects, and advance your career
Updated 2 years ago
US Accidents Exploratory Data Analysis
TODO - talk about EDA
TODO - talk about the dataset(source, what it contains, how it will be useful)
- Kaggle
-information about accidents
-can be useful to prevent accidents
-mention that this doesn,t contain data for New York
pip install opendatasets --upgrade --quiet
import opendatasets as od
download_url = 'https://www.kaggle.com/sobhanmoosavi/us-accidents'
od.download(download_url)
Please provide your Kaggle credentials to download this dataset. Learn more: http://bit.ly/kaggle-creds
Your Kaggle username: awesomeahmed321go
Your Kaggle Key: ··········
Downloading us-accidents.zip to ./us-accidents
100%|██████████| 117M/117M [00:00<00:00, 155MB/s]
data_filename = './us-accidents/US_Accidents_Dec20_updated.csv'
Data Preparation and Cleaning
- Load the data using Pandas
- Look at some information about the data and the columns
- Fix any missing or incorrect values