Skip to content
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

BUG: doc string error #51103

Merged
merged 1 commit into from Feb 1, 2023
Merged

BUG: doc string error #51103

merged 1 commit into from Feb 1, 2023

Conversation

topper-123
Copy link
Contributor

@topper-123 topper-123 commented Feb 1, 2023

An error is occurring in ci/code_checks.sh docstrings because of a missing rebase:

Error: /home/runner/work/pandas/pandas/pandas/core/indexes/base.py:285:EX02:pandas.Index:Examples do not pass tests:
**********************************************************************
Line 49, in pandas.Index
Failed example:
    pd.Index([1, 2, 3], dtype="uint8")
Expected:
    NumericIndex([1, 2, 3], dtype='uint8')
Got:
    Index([1, 2, 3], dtype='uint8')

This fixes that.

xref #42717.

Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @topper-123 !

@phofl phofl added Docs Deprecate Functionality to remove in pandas labels Feb 1, 2023
@phofl phofl merged commit 0124148 into pandas-dev:main Feb 1, 2023
@phofl
Copy link
Member

phofl commented Feb 1, 2023

thx @topper-123

@topper-123 topper-123 deleted the Index_doc_string branch February 1, 2023 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas Docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants