MCPcopy
hub / github.com/pydata/xarray / total_seconds

Method total_seconds

xarray/core/accessor_dt.py:646–648  ·  view source on GitHub ↗

Total duration of each element expressed in seconds.

(self)

Source from the content-addressed store, hash-verified

644
645 # Not defined as a property in order to match the Pandas API
646 def total_seconds(self) -> T_DataArray:
647 """Total duration of each element expressed in seconds."""
648 return self._date_field("total_seconds", np.float64)
649
650
651class CombinedDatetimelikeAccessor(

Callers 8

_adjust_dates_anchoredFunction · 0.80
_timedelta_to_secondsFunction · 0.80
_access_through_seriesFunction · 0.80
test_polyval_cftimeFunction · 0.80
test_cftime_rangeFunction · 0.80
test_total_secondsMethod · 0.80

Calls 1

_date_fieldMethod · 0.80

Tested by 3

test_polyval_cftimeFunction · 0.64
test_cftime_rangeFunction · 0.64
test_total_secondsMethod · 0.64