Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Nov 22, 2023
1 parent c66b603 commit 8d703d4
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions xarray/core/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import copy
import datetime
import warnings
from abc import ABC
from abc import ABC, abstractmethod
from collections.abc import Hashable, Iterator, Mapping, Sequence
from dataclasses import dataclass, field
from typing import (
Expand Down Expand Up @@ -407,11 +407,8 @@ def factorize(self) -> None:


class Grouper(ABC):
def _post_resolve(self, rgrouper: ResolvedGrouper) -> None:
"""
This hook is intended for internal use to preserve
existing performance optimizations for UniqueGrouper and BinGrouper.
"""
@abstractmethod
def factorize(self, group) -> T_FactorizeOut:
pass


Expand Down

0 comments on commit 8d703d4

Please sign in to comment.