Import urllib directly instead of from six.moves, as we move away from Python 2

main
Aurélien Geron 2019-10-12 16:30:13 +09:30
parent 07b83a5e09
commit 936e2cf50f
1 changed files with 1 additions and 1 deletions

View File

@ -924,7 +924,7 @@
"metadata": {},
"outputs": [],
"source": [
"from six.moves import urllib\n",
"import urllib\n",
"from sklearn.datasets import fetch_openml\n",
"\n",
"mnist = fetch_openml('mnist_784', version=1)\n",