Skip to content

Commit 7fa174b

Browse files
author
craigsdennis
committed
Adds reflection notes about data types
1 parent 5cce19c commit 7fa174b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Introduction to NumPy.ipynb

+4-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,10 @@
215215
"cell_type": "markdown",
216216
"metadata": {},
217217
"source": [
218-
"## About data types\n"
218+
"## About data types\n",
219+
"* By choosing the proper [data type](https://docs.scipy.org/doc/numpy-1.14.0/user/basics.types.html) you can greatly reduce the size required to store objects\n",
220+
"* Data types are maintained by wrapping values in a [scalar representation](https://docs.scipy.org/doc/numpy-1.14.0/reference/arrays.scalars.html)\n",
221+
"* `np.zeros` is a handy way to create an empty array filled with zeros."
219222
]
220223
},
221224
{

0 commit comments

Comments
 (0)