Update 01_the_machine_learning_landscape.ipynb
seems that new python libs used by google colab need „import urlib.request“ instead of „import urllib“main
parent
1e81324573
commit
98f6d26d3b
|
@ -124,7 +124,7 @@
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"# Download the data\n",
|
"# Download the data\n",
|
||||||
"import urllib\n",
|
"import urllib.request\n",
|
||||||
"DOWNLOAD_ROOT = \"https://raw.githubusercontent.com/ageron/handson-ml2/master/\"\n",
|
"DOWNLOAD_ROOT = \"https://raw.githubusercontent.com/ageron/handson-ml2/master/\"\n",
|
||||||
"os.makedirs(datapath, exist_ok=True)\n",
|
"os.makedirs(datapath, exist_ok=True)\n",
|
||||||
"for filename in (\"oecd_bli_2015.csv\", \"gdp_per_capita.csv\"):\n",
|
"for filename in (\"oecd_bli_2015.csv\", \"gdp_per_capita.csv\"):\n",
|
||||||
|
|
Loading…
Reference in New Issue