diff --git a/notebooks/02.02-The-Basics-Of-NumPy-Arrays.ipynb b/notebooks/02.02-The-Basics-Of-NumPy-Arrays.ipynb index 39f6becb8..ca00adc6d 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": {}, @@ -60,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": {},