Remove from __future__ imports as we move away from Python 2

This commit is contained in:
Aurélien Geron
2019-10-12 16:40:05 +09:30
parent 936e2cf50f
commit f6dfa0ff76
5 changed files with 211 additions and 684 deletions

View File

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