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

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

  1. Load the data using Pandas
  2. Look at some information about the data and the columns
  3. Fix any missing or incorrect values