Skip to content

Commit 466ff8c

Browse files
GHXXX More cleanup
1 parent 4bf557d commit 466ff8c

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

pandas-stubs/core/groupby/groupby.pyi

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ from collections.abc import (
33
Hashable,
44
Iterable,
55
Iterator,
6-
Mapping,
76
Sequence,
87
)
98
import datetime as dt
@@ -74,24 +73,13 @@ from pandas._typing import (
7473

7574
from pandas.plotting import PlotAccessor
7675

77-
_KeysArgType: TypeAlias = (
78-
Hashable
79-
| list[Hashable]
80-
| Callable[[Hashable], Hashable]
81-
| list[Callable[[Hashable], Hashable]]
82-
| Mapping[Hashable, Hashable]
83-
)
84-
8576
_ResamplerGroupBy: TypeAlias = (
8677
DatetimeIndexResamplerGroupby[NDFrameT]
8778
| PeriodIndexResamplerGroupby[NDFrameT]
8879
| TimedeltaIndexResamplerGroupby[NDFrameT]
8980
)
9081

9182
class GroupBy(BaseGroupBy[NDFrameT]):
92-
as_index: bool
93-
sort: bool
94-
observed: bool
9583
def __getattr__(self, attr: str) -> Any: ...
9684
def apply(self, func: Callable | str, *args, **kwargs) -> NDFrameT: ...
9785
@final
@@ -355,10 +343,6 @@ class GroupByPlot(PlotAccessor, Generic[_GroupByT]):
355343
# def __getattr__(self, name: str): ...
356344

357345
class BaseGroupBy(SelectionMixin[NDFrameT], GroupByIndexingMixin):
358-
axis: AxisInt
359-
keys: _KeysArgType | None
360-
level: IndexLabel | None
361-
group_keys: bool
362346
@final
363347
def __len__(self) -> int: ...
364348
@final

0 commit comments

Comments
 (0)