Google News
logo
NumPy - Quiz(MCQ)
If a dimension is given as ____ in a reshaping operation, the other dimensions are automatically calculated.
A)
One
B)
Zero
C)
Infinite
D)
Negative one

Correct Answer :   Negative one


Explanation : If a dimension is given as -1 in a reshaping operation, the other dimensions are automatically calculated.

Advertisement