Learn practical skills, build real-world projects, and advance your career

US Accidents Exploratory Data Analysis

  • Data Source : https://www.kaggle.com/sobhanmoosavi/us-accidents
  • Data Description : Information about state wise accidents in US from sources like 'MapQuest' and 'Bing'
  • Check the possible causes of accidents and see if any actionable insights can be inferred after analysis.
pip install opendatasets --upgrade --quiet

Downloading and Importing the Data

# Downlading data using opendatasets library to pull online data from kaggle to google drive
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: amax00 Your Kaggle Key: ··········
2%|▏ | 5.00M/299M [00:00<00:06, 51.3MB/s]
Downloading us-accidents.zip to ./us-accidents
100%|██████████| 299M/299M [00:02<00:00, 120MB/s]
data_filename = './us-accidents/US_Accidents_Dec20.csv'