Home » Programming Language (coding) » Python MCQ » Correct syntax of the reshape() function in Numpy array python is –

Correct syntax of the reshape() function in Numpy array python is –

Correct syntax of the reshape() function in Numpy array python is –

A. array.reshape(shape)
B. reshape(shape,array)
C. reshape(array,shape)
D. reshape(shape)

Correct Answer: Option C. reshape(array,shape) 

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve : *
7 + 18 =