IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
22.9 MemmapSlice methods


22.9 MemmapSlice methods

A MemmapSlice object represents a subregion of a Memmap and has these public methods:

__buffer__( )
Returns an object which supports the Python buffer protocol and represents this slice. The Python buffer protocol enables a C function to obtain the pointer and size corresponding to the data region of the slice.

resize( newsize)
resize expands or contracts this slice to the specified newsize.

Send comments to the NumArray community.