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

Class Second

xarray/coding/cftime_offsets.py:647–654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645
646
647class Second(Tick):
648 _freq = "s"
649
650 def as_timedelta(self) -> timedelta:
651 return timedelta(seconds=self.n)
652
653 def __apply__(self, other):
654 return other + self.as_timedelta()
655
656
657class Millisecond(Tick):

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…