Update notebooks to latest nbformat

This commit is contained in:
Aurélien Geron
2020-04-06 19:13:12 +12:00
parent d507ec815a
commit 2f7ab70295
22 changed files with 112 additions and 194 deletions

View File

@@ -21,9 +21,7 @@
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": true
},
"metadata": {},
"outputs": [],
"source": [
"import numpy as np"
@@ -357,9 +355,7 @@
{
"cell_type": "code",
"execution_count": 22,
"metadata": {
"scrolled": false
},
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
@@ -500,9 +496,7 @@
{
"cell_type": "code",
"execution_count": 29,
"metadata": {
"scrolled": false
},
"metadata": {},
"outputs": [],
"source": [
"f = np.array([[1,2],[1000, 2000]], dtype=np.int32)\n",
@@ -663,9 +657,7 @@
{
"cell_type": "code",
"execution_count": 38,
"metadata": {
"scrolled": false
},
"metadata": {},
"outputs": [],
"source": [
"a = np.array([14, 23, 32, 41])\n",
@@ -1243,9 +1235,7 @@
{
"cell_type": "code",
"execution_count": 74,
"metadata": {
"scrolled": false
},
"metadata": {},
"outputs": [],
"source": [
"try:\n",
@@ -1542,9 +1532,7 @@
{
"cell_type": "code",
"execution_count": 96,
"metadata": {
"scrolled": false
},
"metadata": {},
"outputs": [],
"source": [
"c[..., 3] # all matrices, all rows, column 3. This is equivalent to c[:, :, 3]"
@@ -2700,7 +2688,10 @@
"cell_type": "code",
"execution_count": 175,
"metadata": {
"collapsed": true
"collapsed": true,
"jupyter": {
"outputs_hidden": true
}
},
"outputs": [],
"source": [
@@ -2746,7 +2737,10 @@
"cell_type": "code",
"execution_count": 178,
"metadata": {
"collapsed": true
"collapsed": true,
"jupyter": {
"outputs_hidden": true
}
},
"outputs": [],
"source": [
@@ -2839,7 +2833,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
"version": "3.7.6"
},
"toc": {
"toc_cell": false,
@@ -2857,5 +2851,5 @@
}
},
"nbformat": 4,
"nbformat_minor": 1
"nbformat_minor": 4
}