Report Bug
Qus : What does ndarray.shape return?
Qusndarray.shape क्या return करता है?

A. Tuple of array dimensions
B. Total elements
C. Data type
D. Memory size


Solution
A. Tuple of array dimensions



Explanation
NumPy's shape attribute returns the size of the array along each dimension as a tuple.

NumPy में shape array के प्रत्येक dimension का size tuple के रूप में return करता है।



Report Bug