MCPcopy Index your code
hub / github.com/pydata/xarray / as_timedelta

Method as_timedelta

xarray/coding/cftime_offsets.py:232–234  ·  view source on GitHub ↗

All Tick subclasses must implement an as_timedelta method.

(self)

Source from the content-addressed store, hash-verified

230 return type(self)(n=other * self.n)
231
232 def as_timedelta(self) -> timedelta:
233 """All Tick subclasses must implement an as_timedelta method."""
234 raise NotImplementedError
235
236
237def _get_day_of_month(other, day_option: DayOption) -> int:

Callers 4

_round_via_methodMethod · 0.45
_adjust_dates_anchoredFunction · 0.45

Calls

no outgoing calls

Tested by 1