cfdm.NumpyArray¶
-
class
cfdm.
NumpyArray
(array=None)[source]¶ Bases:
cfdm.data.abstract.array.Array
,cfdm.core.data.numpyarray.NumpyArray
An underlying numpy array.
Initialization
- Parameters
- array:
numpy.ndarray
The numpy array.
- array:
Inspection¶
Methods
The type of compression that has been applied to the underlying array. |
|
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. |
Special¶
x.__getitem__(indices) <==> x[indices] |