NumPy 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 : Option (D) :   Negative one

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