Skip to content

DOC: fix RT03 for pandas.Index.to_numpy and pandas.Categorial.set_categories #57603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 24, 2024

Conversation

bergnerjonas
Copy link
Contributor

@bergnerjonas bergnerjonas commented Feb 24, 2024

Resolve all errors for the following cases:

  1. scripts/validate_docstrings.py --format=actions --errors=RT03 pandas.Index.to_numpy
  2. scripts/validate_docstrings.py --format=actions --errors=RT03 pandas.Categorical.set_categories

Also fixes typos and wrong default value in docstring of pandas.Categorical.set_categories.

@mroeschke mroeschke added the Docs label Feb 24, 2024
@mroeschke mroeschke added this to the 3.0 milestone Feb 24, 2024
@mroeschke mroeschke merged commit 421f47d into pandas-dev:main Feb 24, 2024
@mroeschke
Copy link
Member

Thanks @bergnerjonas

@bergnerjonas bergnerjonas deleted the issue_#57416_1 branch February 24, 2024 23:16
pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
…egories (pandas-dev#57603)

* Add description to Index._to_numpy method.

* Fix description of default value for parameter "ordered" in set_categories

* Add description to return value of Categorical.set_categories and fix typo in description.

* Remove fixed docstrings from code_checks.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants