+ 3
where do I find the ca-covid.csv file?
Find file
8 Respuestas
+ 1
I can't find the file
😭😭😭😭
+ 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)
+ 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?
- 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: