From c4c4f1bac94870199c0c8a54f81f3f14679e41db Mon Sep 17 00:00:00 2001 From: AndC314 <40807923+AndC314@users.noreply.github.com> Date: Wed, 9 Sep 2020 09:45:13 +0200 Subject: [PATCH] Update 01_the_machine_learning_landscape.ipynb updated import urllib.request to make urllib.request.urlretrieve(url, datapath + filename) work properly --- 01_the_machine_learning_landscape.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01_the_machine_learning_landscape.ipynb b/01_the_machine_learning_landscape.ipynb index 24f8aaa..a1f92db 100644 --- a/01_the_machine_learning_landscape.ipynb +++ b/01_the_machine_learning_landscape.ipynb @@ -124,7 +124,7 @@ "outputs": [], "source": [ "# Download the data\n", - "import urllib\n", + "import urllib.request\n", "DOWNLOAD_ROOT = \"https://raw.githubusercontent.com/ageron/handson-ml2/master/\"\n", "os.makedirs(datapath, exist_ok=True)\n", "for filename in (\"oecd_bli_2015.csv\", \"gdp_per_capita.csv\"):\n",