xarray.CFTimeIndex.item¶
-
CFTimeIndex.
item
(self)¶ Return the first element of the underlying data as a python scalar.
- Returns
The first element of %(klass)s.
- Return type
scalar
- Raises
ValueError – If the data is not length-1.
CFTimeIndex.
item
(self)¶Return the first element of the underlying data as a python scalar.
The first element of %(klass)s.
scalar
ValueError – If the data is not length-1.