Why are NumPy arrays faster than Python lists for numeric work?
Correct answer
D. They store homogeneous data contiguously and use vectorised C operations
7 views
D. They store homogeneous data contiguously and use vectorised C operations
7 views
Vectorisation avoids slow Python loops.
Asked in: Python Interview Data Libraries
https://docs.python.org/3/library/index.htmlNot sure why the answer is D? Ask here and get an explanation.