DOC: Inline docstring for GroupByPositionalSelector#63944
Merged
mroeschke merged 1 commit intopandas-dev:mainfrom Jan 29, 2026
Merged
DOC: Inline docstring for GroupByPositionalSelector#63944mroeschke merged 1 commit intopandas-dev:mainfrom
mroeschke merged 1 commit intopandas-dev:mainfrom
Conversation
Part of pandas-dev#62437 This removes the @doc decorator from GroupByPositionalSelector and inlines the docstring from GroupByIndexingMixin._positional_selector directly into the class. Also removes the now-unused doc import from pandas.util._decorators.
mroeschke
approved these changes
Jan 29, 2026
Member
|
Thanks @littleKitchen |
Sharl0tteIsTaken
added a commit
to Sharl0tteIsTaken/pandas
that referenced
this pull request
Jan 30, 2026
…-comparison * upstream/main: (29 commits) DOC: Inline docstrings in pandas/io/excel/_odfreader.py (GH#62437) (pandas-dev#63943) DOC: Inline docstring for GroupByPositionalSelector (pandas-dev#63944) DOC: Fix PR02,SA01 for pandas.tseries.offsets.CDay (pandas-dev#63929) DOC: Fix typo in text data user guide (pandas-dev#63930) DOC: Fix PR02,SA01 for pandas.tseries.offsets.BDay (pandas-dev#63928) DOC: Fix GL08 for pandas.tseries.offsets.SemiMonthEnd.is_on_offset (pandas-dev#63926) DOC: Fix GL08 for pandas.tseries.offsets.Week.is_on_offset (pandas-dev#63927) DOC: Fix GL08 for pandas.tseries.offsets.Easter.is_on_offset (pandas-dev#63922) DOC: Fix GL08 for pandas.tseries.offsets.FY5253Quarter.rule_code (pandas-dev#63923) DOC: Fix GL08 for pandas.tseries.offsets.SemiMonthBegin.is_on_offset (pandas-dev#63924) BUG: still use object dtype for pyarrow-backed IO methods with infer_strings disabled (pandas-dev#63900) BUG: Correct length_of_indexer for range objects (pandas-dev#63872) DOC: Add guide links to relevant API docs (pandas-dev#62650) BUG: fix CoW handling of DataFrame(index/series) constructor (pandas-dev#63908) TST: mark plotting backend tests as single-threaded (pandas-dev#63911) DOC: Fix PR02 for pandas.tseries.offsets.CBMonthBegin (pandas-dev#63878) TST: Remove Windows ARROW_TIMEZONE_DATABASE xfails for PyArrow>=22 (pandas-dev#63905) CI: Simplify docs build with workflow_dispatch (pandas-dev#63852) DOC: Add User Guide links to GroupBy aggregate, transform, and apply methods (pandas-dev#63837) ENH: Raise TypeError when not np.busdaycalendar is passed to custom subclasses (pandas-dev#63854) ...
Sharl0tteIsTaken
added a commit
to Sharl0tteIsTaken/pandas
that referenced
this pull request
Jan 30, 2026
…h-origin * upstream/main: DOC: Inline docstrings in pandas/io/excel/_odfreader.py (GH#62437) (pandas-dev#63943) DOC: Inline docstring for GroupByPositionalSelector (pandas-dev#63944) DOC: Fix PR02,SA01 for pandas.tseries.offsets.CDay (pandas-dev#63929) DOC: Fix typo in text data user guide (pandas-dev#63930) DOC: Fix PR02,SA01 for pandas.tseries.offsets.BDay (pandas-dev#63928) DOC: Fix GL08 for pandas.tseries.offsets.SemiMonthEnd.is_on_offset (pandas-dev#63926) DOC: Fix GL08 for pandas.tseries.offsets.Week.is_on_offset (pandas-dev#63927) DOC: Fix GL08 for pandas.tseries.offsets.Easter.is_on_offset (pandas-dev#63922) DOC: Fix GL08 for pandas.tseries.offsets.FY5253Quarter.rule_code (pandas-dev#63923) DOC: Fix GL08 for pandas.tseries.offsets.SemiMonthBegin.is_on_offset (pandas-dev#63924) BUG: still use object dtype for pyarrow-backed IO methods with infer_strings disabled (pandas-dev#63900) BUG: Correct length_of_indexer for range objects (pandas-dev#63872) DOC: Add guide links to relevant API docs (pandas-dev#62650) BUG: fix CoW handling of DataFrame(index/series) constructor (pandas-dev#63908) TST: mark plotting backend tests as single-threaded (pandas-dev#63911) DOC: Fix PR02 for pandas.tseries.offsets.CBMonthBegin (pandas-dev#63878)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #62437
Summary
This PR removes the
@docdecorator fromGroupByPositionalSelectorinpandas/core/groupby/indexing.pyand inlines the docstring fromGroupByIndexingMixin._positional_selectordirectly into the class.Changes
@doc(GroupByIndexingMixin._positional_selector)decoratordocimport frompandas.util._decoratorsThis is a straightforward copy of the docstring with no modifications needed since the class directly implements the
_positional_selectorfunctionality.