मराठी

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×