From e26edabc95a53ab7030ca163cb75f7c36d85581c Mon Sep 17 00:00:00 2001 From: Amit Rathi Date: Fri, 4 Jan 2019 16:13:32 +0530 Subject: [PATCH 1/2] New commit on v3 --- .../02.02-The-Basics-Of-NumPy-Arrays.ipynb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/notebooks/02.02-The-Basics-Of-NumPy-Arrays.ipynb b/notebooks/02.02-The-Basics-Of-NumPy-Arrays.ipynb index 39f6becb8..78384b7b5 100644 --- a/notebooks/02.02-The-Basics-Of-NumPy-Arrays.ipynb +++ b/notebooks/02.02-The-Basics-Of-NumPy-Arrays.ipynb @@ -11,6 +11,24 @@ "*The text is released under the [CC-BY-NC-ND license](https://creativecommons.org/licenses/by-nc-nd/3.0/us/legalcode), and code is released under the [MIT license](https://opensource.org/licenses/MIT). If you find this content useful, please consider supporting the work by [buying the book](http://shop.oreilly.com/product/0636920034919.do)!*" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# This is a trial cell\n", + "# O mamma mia" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# This is another a trial cell\n", + "# O mamma mia" + ] + }, { "cell_type": "markdown", "metadata": {}, From 686fd1b20cd37df342392a114f0e7483c2b79996 Mon Sep 17 00:00:00 2001 From: Amit Rathi Date: Fri, 4 Jan 2019 16:17:50 +0530 Subject: [PATCH 2/2] Delete code cell corresponding to comment C2 --- notebooks/02.02-The-Basics-Of-NumPy-Arrays.ipynb | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/notebooks/02.02-The-Basics-Of-NumPy-Arrays.ipynb b/notebooks/02.02-The-Basics-Of-NumPy-Arrays.ipynb index 78384b7b5..ca00adc6d 100644 --- a/notebooks/02.02-The-Basics-Of-NumPy-Arrays.ipynb +++ b/notebooks/02.02-The-Basics-Of-NumPy-Arrays.ipynb @@ -78,20 +78,6 @@ "We'll use NumPy's random number generator, which we will *seed* with a set value in order to ensure that the same random arrays are generated each time this code is run:" ] }, - { - "cell_type": "code", - "execution_count": 1, - "metadata": {}, - "outputs": [], - "source": [ - "import numpy as np2\n", - "np.random.seed(0) # seed for reproducibility\n", - "\n", - "x1 = np2.random.randint(10, size=6) # One-dimensional array\n", - "x2 = np2.random.randint(10, size=(3, 4)) # Two-dimensional array\n", - "x3 = np2.random.randint(10, size=(3, 4, 5)) # Three-dimensional array" - ] - }, { "cell_type": "markdown", "metadata": {},