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

Method reset

xarray/groupers.py:511–518  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

509 group_as_index: pd.Index = field(init=False, repr=False)
510
511 def reset(self) -> Self:
512 return type(self)(
513 freq=self.freq,
514 closed=self.closed,
515 label=self.label,
516 origin=self.origin,
517 offset=self.offset,
518 )
519
520 def _init_properties(self, group: T_Group) -> None:
521 group_as_index = safe_cast_to_index(group)

Callers

nothing calls this directly

Calls 1

typeFunction · 0.85

Tested by

no test coverage detected