numpy.ndarray.reshape — NumPy v1.11 Manual (original) (raw)

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