(
self, name: str, *, skipna: bool = True, keepdims: bool = False, **kwargs
)
| 1151 | # Reductions |
| 1152 | |
| 1153 | def _reduce( |
| 1154 | self, name: str, *, skipna: bool = True, keepdims: bool = False, **kwargs |
| 1155 | ): |
| 1156 | result = super()._reduce(name, skipna=skipna, keepdims=keepdims, **kwargs) |
| 1157 | if keepdims and isinstance(result, np.ndarray): |
| 1158 | return self._from_sequence(result, dtype=self.dtype) |
| 1159 | return result |
| 1160 | |
| 1161 | |
| 1162 | def raise_on_incompatible(left, right) -> IncompatibleFrequency: |
no test coverage detected