From 66beaa3fe1b1bfbea699e979148085abfb416206 Mon Sep 17 00:00:00 2001 From: Tigran Date: Sun, 17 Nov 2019 11:17:02 +0400 Subject: [PATCH 1/2] Update Chapter 5 - Combining dataframes and scraping Canadian weather data.ipynb Weather download url changed. --- ...ombining dataframes and scraping Canadian weather data.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/Chapter 5 - Combining dataframes and scraping Canadian weather data.ipynb b/cookbook/Chapter 5 - Combining dataframes and scraping Canadian weather data.ipynb index 277658ff3..74e521a74 100644 --- a/cookbook/Chapter 5 - Combining dataframes and scraping Canadian weather data.ipynb +++ b/cookbook/Chapter 5 - Combining dataframes and scraping Canadian weather data.ipynb @@ -1460,7 +1460,7 @@ }, "outputs": [], "source": [ - "url_template = \"http://climate.weather.gc.ca/climateData/bulkdata_e.html?format=csv&stationID=5415&Year={year}&Month={month}&timeframe=1&submit=Download+Data\"" + "url_template = \"http://climate.weather.gc.ca/climate_data/bulk_data_e.html?format=csv&stationID=5415&Year={year}&Month={month}&timeframe=1&submit=Download+Data\"" ] }, { From 1e2d905d1048ce5d7b293214bb9999858866864b Mon Sep 17 00:00:00 2001 From: Tigran Date: Sun, 17 Nov 2019 11:34:35 +0400 Subject: [PATCH 2/2] Update Chapter 5 - Combining dataframes and scraping Canadian weather data.ipynb --- ...ombining dataframes and scraping Canadian weather data.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/Chapter 5 - Combining dataframes and scraping Canadian weather data.ipynb b/cookbook/Chapter 5 - Combining dataframes and scraping Canadian weather data.ipynb index 74e521a74..f376fcffd 100644 --- a/cookbook/Chapter 5 - Combining dataframes and scraping Canadian weather data.ipynb +++ b/cookbook/Chapter 5 - Combining dataframes and scraping Canadian weather data.ipynb @@ -4134,7 +4134,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "You'll notice in the summary above that there are a few columns which are are either entirely empty or only have a few values in them. Let's get rid of all of those with `dropna`.\n", + "You'll notice in the summary above that there are a few columns which are either entirely empty or only have a few values in them. Let's get rid of all of those with `dropna`.\n", "\n", "The argument `axis=1` to `dropna` means \"drop columns\", not rows\", and `how='any'` means \"drop the column if any value is null\". \n", "\n",