We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb04519 commit d956660Copy full SHA for d956660
pandas/core/base.py
@@ -154,14 +154,8 @@ class SelectionMixin:
154
Sub-classes need to define: obj, exclusions
155
"""
156
157
- obj: Any # TODO: refine this type, should NOT be Any
158
- """Target object for the selection and aggregation."""
159
- # GH 38239
160
- # TODO obj here must be typed as FrameOrSeriesUnion,
161
- # however this creates multiple mypy errors elsewhere.
162
- # Those have to be addressed in a separate PR.
+ obj: FrameOrSeriesUnion
163
exclusions: Set[Hashable]
164
- """Columns to exclude."""
165
166
_selection: Optional[IndexLabel] = None
167
_internal_names = ["_cache", "__setstate__"]
0 commit comments