mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
urllib called, but never imported
added import statement for urllib package, used in the downloading data section
This commit is contained in:
@@ -124,6 +124,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Download the data\n",
|
||||
"import urllib",
|
||||
"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",
|
||||
|
||||
Reference in New Issue
Block a user