2020-08-13 12:00:20 +02:00
|
|
|
---
|
|
|
|
id: 5e9a0a8e09c5df3cc3600ed2
|
|
|
|
challengeType: 11
|
|
|
|
videoId: 5Nwfs5Ej85Q
|
2021-01-13 03:31:00 +01:00
|
|
|
dashedName: what-is-numpy
|
2020-08-13 12:00:20 +02:00
|
|
|
---
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
# --question--
|
2020-08-13 12:00:20 +02:00
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
## --text--
|
2020-08-13 12:00:20 +02:00
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
Why are Numpy arrays faster than regular Python lists?
|
2020-08-13 12:00:20 +02:00
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
## --answers--
|
2020-08-13 12:00:20 +02:00
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
Numpy does not perform type checking while iterating through objects.
|
2020-08-13 12:00:20 +02:00
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
---
|
|
|
|
|
|
|
|
Numpy uses fixed types.
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
Numpy uses contiguous memory.
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
All of the above.
|
|
|
|
|
|
|
|
## --video-solution--
|
|
|
|
|
|
|
|
4
|
|
|
|
|