+ 3

where do I find the ca-covid.csv file?

Find file

9th May 2022, 7:14 PM
Jony Enrique Romero Guerrero
8 Answers
+ 1
I can't find the file 😭😭😭😭
9th May 2022, 10:11 PM
Jony Enrique Romero Guerrero
+ 1
import pandas as pd df = pd.read_csv("/usercode/files/ca-covid.csv") df.drop('state', axis=1, inplace=True) df.set_index('date', inplace=True)
9th May 2022, 10:23 PM
Jony Enrique Romero Guerrero
+ 1
can we actually download the csv somewhere? the problem i have is that doing it through the app it just says ''failed... try again".. but i want to see what my outputs actually are, where i'm going wrong, so i want to do it first offline in pycharm on my pc. so is there a download link i've missed?
2nd Jul 2022, 10:01 PM
Jack
11th Jan 2023, 1:06 PM
LimitWolf
LimitWolf - avatar
- 1
in the data science course they say: You are working with the COVID dataset for California, which includes the number of cases and deaths for each day in 2020. Find the day when the ratio of deaths/cases was highest. To do this, first calculate the ratio of deaths/cases and add it as a column to the DataFrame with the name 'ratio', and then find the row that corresponds to the largest value. Important: The output must be a DataFrame, containing all the columns of the corresponding row's dataset. They give me this code:
9th May 2022, 10:22 PM
Jony Enrique Romero Guerrero