Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0a6ef19

Browse files
author
craigsdennis
committed
Adds reflection on differences between lists and NumPy Arrays
1 parent8d1fc88 commit0a6ef19

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎Introduction to NumPy.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@
3333
"cell_type":"markdown",
3434
"metadata": {},
3535
"source": [
36-
"## Differences between lists and NumPy Arrays\n"
36+
"## Differences between lists and NumPy Arrays\n",
37+
"* An array's size is immutable. You cannot append, insert or remove elements, like you can with a list.\n",
38+
"* All of an array's elements must be of the same [data type](https://docs.scipy.org/doc/numpy-1.14.0/user/basics.types.html).\n",
39+
"* A NumPy array behaves in a Pythonic fashion. You can `len(my_array)` just like you would assume."
3740
]
3841
},
3942
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp