numpy.ma.MaskedArray.resize#
method
- ma.MaskedArray.resize(newshape,refcheck=True,order=False)[source]#
Warning
This method does nothing, except raise a ValueError exception. Amasked array does not own its data and therefore cannot safely beresized in place. Use the
numpy.ma.resizefunction instead.This method is difficult to implement safely and may be deprecated infuture releases of NumPy.
On this page