Skip to content

Conversation

janlodewijk
Copy link
Contributor

No description provided.

Imported Index from pandas
and
Changed keys method:
def keys(self) -> Index: ...
Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

can you add a test for this?

Add a test for issue # 1101
Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

We have our tests in a specific pattern, so I have suggested that pattern in my review.

Following the pandas pattern.

Co-authored-by: Irv Lustig <[email protected]>
@janlodewijk
Copy link
Contributor Author

Thank you for your feedback. It's my very first issue and pull request.

Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

You need to set up the pre-commit so things are properly formatted. See the output here:
https://github.com/pandas-dev/pandas-stubs/actions/runs/13202706637/job/36858930373?pr=1106

And instructions here for setting up your local testing environment:
https://github.com/pandas-dev/pandas-stubs/blob/main/docs/setup.md

Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

All looks fine, except you included an extra file that needs to be removed from the PR

Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

thanks @janlodewijk

@Dr-Irv Dr-Irv merged commit 4976e11 into pandas-dev:main Feb 10, 2025
10 checks passed
@janlodewijk
Copy link
Contributor Author

@Dr-Irv, thank you for your feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants