Advertisements
Advertisements
प्रश्न
Assertion (A): To create a series from array, we have to import the NumPy module and then use array () method.
Reason (R): NumPy is an open-source numerical Python library. NumPy contains a multi-dimensional array and matrix data structures.
पर्याय
Both Assertion (A) and reason (R) are true and reason (R) is the correct explanation of Assertion (A).
Both Assertion (A) and reason (R) are true but reason (R) is not the correct explanation of Assertion (A).
Assertion (A) is true but reason (R) is false.
Assertion (A) is false but reason (R) is true.
उत्तर
Both Assertion (A) and reason (R) are true and reason (R) is the correct explanation of Assertion (A).
Explanation:
NumPy, which stands for Numerical Python, is a library that contains multidimensional array objects as well as functions for manipulating those arrays. NumPy can conduct mathematical and logical operations on arrays. NumPy is a Python library. Pandas employ NumPy arrays as the concrete objects enclosed with alndex, Series, or DataFrame for the majority of data types.