Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Aug 16, 2024
1 parent 419b862 commit d419fb8
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions xarray/core/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,15 +475,12 @@ class GroupBy(Generic[T_Xarray]):
"""

__slots__ = (
"_inserted_dims",
"_group",
"_group_dim",
"_group_indices",
"_groups",
"groupers",
"_obj",
"_restore_coord_dims",
"_stacked_dim",
# cached properties
"_groups",
"_dims",
"_sizes",
"_len",
Expand All @@ -494,7 +491,6 @@ class GroupBy(Generic[T_Xarray]):
"group1d",
"_stacked_dim",
"_inserted_dims",
"coords",
"encoded",
)
_obj: T_Xarray
Expand All @@ -509,15 +505,13 @@ class GroupBy(Generic[T_Xarray]):
_groups: dict[GroupKey, GroupIndex] | None
_dims: tuple[Hashable, ...] | Frozen[Hashable, int] | None
_sizes: Mapping[Hashable, int] | None
_len: int

# _ensure_1d:
group1d: T_Group
_stacked_dim: Hashable | None
_inserted_dims: list[Hashable]

_unique_coord: Variable | _DummyGroup
coords: Coordinates

encoded: EncodedGroups

def __init__(
Expand Down

0 comments on commit d419fb8

Please sign in to comment.