Advertisements
Advertisements
Question
What is the name of the built-in array class in NumPy ?
Short Answer
Advertisements
Solution
The built-in array class in NumPy is called ndarray (N-dimensional array).
It is used to store and perform operations on elements of the same data type in one or more dimensions.
Example:
import numpy as np
a = np.array([10, 20, 30])
print(type(a))
Output:
<class 'numpy.ndarray'>
shaalaa.com
Is there an error in this question or solution?
