Array.reshape(shape, order='C')[source]

This docstring was copied from numpy.ndarray.reshape.

Some inconsistencies with the Dask version may exist.


See dask.array.reshape() for an explanation of the merge_chunks keyword.

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

Refer to numpy.reshape for full documentation.

See also


equivalent function


Unlike the free function numpy.reshape, this method on ndarray allows the elements of the shape parameter to be passed in as separate arguments. For example, a.reshape(10, 11) is equivalent to a.reshape((10, 11)).