IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
22.5 Resizing a MemmapSlice


22.5 Resizing a MemmapSlice

Arrays based on MemmapSlice objects are resizable. As soon as they're resized, slices become un-mapped or ``free floating''. Resizing a slice affects the parent Memmap.

>>> a.resize(6)
array([1, 1, 1, 1, 1, 1], type=Int32)

Send comments to the NumArray community.