Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Introduction to NumPy!
You have completed Introduction to NumPy!
Preview
Let's create a study log that we will use to track the minutes we will study during the #100DaysOfCode challenge
Learn More
My Notes for Introducing Arrays
## Differences between lists and NumPy Arrays
* An array's size is immutable. You cannot append, insert or remove elements, like you can with a list.
* 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).
* A NumPy array behaves in a Pythonic fashion. You can `len(my_array)` just like you would assume.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
So, my first point is, an array's size is
immutable, you can't change it right?
0:00
So you can't append, insert, or
0:00
remove elements like you can with
a list and we showed that down here.
0:02
All of an array's elements
must be of the same data type.
0:07
I went and did a search for the different
data types that are available, and
0:10
I made a little link here.
0:13
I like to use those as bookmarks, and
0:14
we'll actually use this
one here just in a bit.
0:15
And then finally, a NumPy array
behaves in a Pythonic fashion.
0:17
You can use len(my_array)
just like you'd assume.
0:22
Awesome, how did you do?
0:25
That feel good?
0:27
All right, are you ready?
0:28
Let's build out our study log.
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up