cfdm.NumpyArray¶
-
class
cfdm.
NumpyArray
(array=None)[source]¶ Bases:
cfdm.data.mixin.arraymixin.ArrayMixin
,cfdm.core.data.numpyarray.NumpyArray
An underlying numpy array.
New in version (cfdm): 1.7.0
Initialisation
- Parameters
- array:
numpy.ndarray
The numpy array.
- array:
Inspection¶
Methods
Returns the array’s compression type. |
|
Return a subspace, defined by indices, of a numpy array. |
Attributes
Return an independent numpy array containing the data. |
|
Data-type of the data elements. |
|
Number of array dimensions. |
|
Tuple of array dimension sizes. |
|
Number of elements in the array. |
Miscellaneous¶
Return a deep copy of the array. |
|
Bring an array on disk into memory and retain it there. |
Special¶
Returns a subspace of the array as a numpy array. |
Docstring substitutions¶
Methods
Return the special docstring substitutions. |
|
Returns the substitutions that apply to methods of the class. |
|
Returns the class {{package}} substitutions package depth. |
|
Returns method names excluded in the class substitutions. |