diff --git a/README.md b/README.md index 1172e22..c5ab9cb 100644 --- a/README.md +++ b/README.md @@ -1415,7 +1415,6 @@ BaseException | +-- KeyError # Raised when a dictionary key or set element is not found. +-- NameError # Raised when a variable name is not found. +-- OSError # Errors such as “file not found” or “disk full” (see Open). - | +-- FileNotFoundError # When a file or directory is requested but doesn't exist. +-- RuntimeError # Raised by errors that don't fall into other categories. | +-- RecursionError # Raised when the maximum recursion depth is exceeded. @@ -3369,7 +3368,7 @@ continents = pd.read_csv('https://datahub.io/JohnSnowLabs/country-and-continent- df = pd.merge(covid, continents, left_on='iso_code', right_on='Three_Letter_Country_Code') df = df.groupby(['Continent_Name', 'date']).sum().reset_index() df['Total Deaths per Million'] = df.total_deaths * 1e6 / df.population -df = df[('2020-03-14' < df.date) & (df.date < '2020-11-08')] +df = df[('2020-03-14' < df.date) & (df.date < '2020-11-25')] df = df.rename({'date': 'Date', 'Continent_Name': 'Continent'}, axis='columns') line(df, x='Date', y='Total Deaths per Million', color='Continent').show() ``` diff --git a/index.html b/index.html index cc252c5..3686d2f 100644 --- a/index.html +++ b/index.html @@ -213,7 +213,7 @@ pre.prettyprint {