numpy.ndarray.reshape

ndarray.reshape(shape, order='C')

Returns an array containing the same data with a new shape.

Refer to numpy.reshape for full documentation.

See also

numpy.reshape
equivalent function

Previous topic

numpy.ndarray.fill

Next topic

numpy.ndarray.resize

This Page