From db6ed9d3c81569c84ba1f8da99de2dad0b8220b3 Mon Sep 17 00:00:00 2001 From: yx-chan131 <68681893+yx-chan131@users.noreply.github.com> Date: Fri, 4 Dec 2020 14:27:37 +0800 Subject: [PATCH] Update 01_the_machine_learning_landscape.ipynb must specifically import urllib.request --- 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",