Creates intermediates necessary for GroupBy. Parameters ---------- group : DataArray DataArray we are grouping by. Returns ------- EncodedGroups
(self, group: T_Group)
| 155 | |
| 156 | @abstractmethod |
| 157 | def factorize(self, group: T_Group) -> EncodedGroups: |
| 158 | """ |
| 159 | Creates intermediates necessary for GroupBy. |
| 160 | |
| 161 | Parameters |
| 162 | ---------- |
| 163 | group : DataArray |
| 164 | DataArray we are grouping by. |
| 165 | |
| 166 | Returns |
| 167 | ------- |
| 168 | EncodedGroups |
| 169 | """ |
| 170 | pass |
| 171 | |
| 172 | @abstractmethod |
| 173 | def reset(self) -> Self: |
no outgoing calls
no test coverage detected