numpy / 1.20.1 / reference / generated / numpy.ma.reshape.html /

numpy.ma.reshape

ma.reshape(a, new_shape, order='C') [source]

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

Refer to MaskedArray.reshape for full documentation.

See also

MaskedArray.reshape

equivalent function

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.20/reference/generated/numpy.ma.reshape.html