Template request | Bug report | Generate Data Product
Tags: #csv #pandas #read #opendata #johnshopkins #investors #snippet #dataframe
Author: Florent Ravenel
Description: This notebook provides a guide to reading and manipulating CSV files.
import pandas
csv_path = "https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv"
You want to add more parameters ?
👉 Check out the pandas documentation here.
df = pandas.read_csv(csv_path)
df.head(5) # read the first 5 lines