Import urllib directly instead of from six.moves, as we move away from Python 2
parent
07b83a5e09
commit
936e2cf50f
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue