urllib called, but never imported

added import statement for urllib package, used in the downloading data section
main
Dave 2019-11-07 21:17:22 +00:00 committed by GitHub
parent 3890272042
commit 8b7e47d6ef
1 changed files with 1 additions and 0 deletions

View File

@ -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",