Skip to content

Instantly share code, notes, and snippets.

import pandas as pd
import numpy as np
import plotly.graph_objects as go
# confirmed_global
confirmed_global='https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv'
covid19_confirmed=pd.read_csv(confirmed_global,index_col='Country/Region')
confirmed_latest = covid19_confirmed.T.index.values[-1]