Computer Science, asked by deeptisomasekar96811, 11 months ago

Difference between numpy array and list 2

Answers

Answered by Lensten
0

Answer:

It provides a high-performance multidimensional array object, and tools for working with these arrays. A numpy array is a grid of values, all of the same type, and is indexed by a tuple of nonnegative integers. ... A list is the Python equivalent of an array, but is resizeable and can contain elements of different types.

Answered by udhaiindrajith
0

A numpy array is a grid of values, all of the same type, and is indexed by a tuple of nonnegative integers. ... A list is the Python equivalent of an array, but is resizeable and can contain elements of different types. A common beginner question is what is the real difference here. The answer is performance.

Similar questions