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
© 2008–2017 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.ndarray.reshape.html