(self, name: str, *, skipna: bool = True, **kwargs)
| 1385 | return res_values |
| 1386 | |
| 1387 | def _accumulate(self, name: str, *, skipna: bool = True, **kwargs) -> Self: |
| 1388 | if name not in {"cummin", "cummax"}: |
| 1389 | raise TypeError(f"Accumulation {name} not supported for {type(self)}") |
| 1390 | |
| 1391 | op = getattr(datetimelike_accumulations, name) |
| 1392 | result = op(self.copy(), skipna=skipna, **kwargs) |
| 1393 | |
| 1394 | return type(self)._simple_new(result, dtype=self.dtype) |
| 1395 | |
| 1396 | @unpack_zerodim_and_defer("__add__") |
| 1397 | def __add__(self, other): |
nothing calls this directly
no test coverage detected