Advertisements
Advertisements
प्रश्न
What is the name of the built-in array class in NumPy ?
लघु उत्तरीय
Advertisements
उत्तर
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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
