mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
Remove from __future__ imports as we move away from Python 2
This commit is contained in:
@@ -16,24 +16,14 @@
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# Setup\n",
|
||||
"First, let's make sure this notebook works well in both python 2 and 3:"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from __future__ import division, print_function, unicode_literals"
|
||||
"# Setup"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"Now let's import `pandas`. People usually import it as `pd`:"
|
||||
"First, let's import `pandas`. People usually import it as `pd`:"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -2817,7 +2807,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.6.3"
|
||||
"version": "3.7.4"
|
||||
},
|
||||
"toc": {
|
||||
"toc_cell": false,
|
||||
|
||||
Reference in New Issue
Block a user