Question
download csv data with pandas with below code: import pandas as pd deaths_df = pd.read_csv('https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_deaths_global.csv') Identify and handle missing values in the dataset. Remove duplicate
Identify and handle missing values in the dataset.
Remove duplicate entries if any.
Convert the date column to a consistent date format (e.g., YYYYMM-DD)
Save the cleaned dataset to a new CSV file.
3. Display first 5 rows of the loaded data and short summary about the data .
4. Calculate the mean and median of the daily cases.
5. Get daily death cases worldwide (hint: summarizing daily death cases over all countries.)
6. Get daily increasement of deaths cases via defining a function (hint: use the death cases of today minus the death cases of yesterday from the data obtained in task 5.)
7. Visualize the data obtained in task 5 with library matplotlib
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started