Skip to content

Commit 0c03160

Browse files
committed
some changes to numpy
1 parent 12bb698 commit 0c03160

File tree

2 files changed

+6
-264
lines changed

2 files changed

+6
-264
lines changed

NumPy/.ipynb_checkpoints/intro-checkpoint.ipynb

-264
This file was deleted.

NumPy/intro.ipynb numpy/basics.ipynb

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"metadata": {},
66
"source": [
77
"# NumPy Basics\n",
8+
"\n",
9+
"Find the numpy tutorial [here](https://docs.scipy.org/doc/numpy-dev/user/quickstart.html).\n",
10+
"\n",
811
"NumPy’s main object is the homogeneous multidimensional array. In NumPy dimensions are called axes. The number of axes is rank.\n",
912
"\n",
1013
"A numpy array has different attributes defining its shape, number of dimensions, and the types of elements it contains."
@@ -95,6 +98,9 @@
9598
"metadata": {},
9699
"source": [
97100
"## Slicing\n",
101+
"\n",
102+
"Find the basics of numpy slicing [here](https://docs.scipy.org/doc/numpy-dev/user/quickstart.html#indexing-slicing-and-iterating).\n",
103+
"\n",
98104
"There is an important point to note when slicing a numpy array. Consider the array `x` defined above. Let's say we want to select the first element in the first axis (or dimension) of `x`. If we used a list to slice the first element as below, we get back an array with the same number of axes as before."
99105
]
100106
},

0 commit comments

Comments
 (0)