1
Q

What does numpy add to python

A

a richer data set including
- more numeric types
- vectors
- matrices
- many matrix functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are vectors?

A

Ordered arrays of elements
- all elements of the same type
- have dimension/rank n, which is the amount of elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a 1-D array?

A

An array with one dimensions and thus one index

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you start with data creation in numpy?

A

Usually with one parameter, which is the shape of the object
Can be a single value for 1-D, or a tuple (n,m,…)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What do Indexing and slicing mean for numpy arrays?

A

indexing : referring to an element of an array by its position in the array
slicing: getting a subset of elements of an array based on their indices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly