हिंदी

What is the name of the built-in array class in NumPy ?

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 6: Introduction to NumPy - Exercise [पृष्ठ ११३]

APPEARS IN

एनसीईआरटी Informatics Practices [English] Class 11
अध्याय 6 Introduction to NumPy
Exercise | Q 2. c) | पृष्ठ ११३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×