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

Add ignore_index keyword arg in dropna and drop_duplicates (Part of GH624) #1030

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

hyperc54
Copy link
Contributor

@hyperc54 hyperc54 commented Nov 12, 2024

  • Should cover two bullet points of Version 2.0 Compatibility Tracker #624 (dropna and drop_duplicates for both Series and DFs)

  • Tests added

  • Additionally add overloads to dataframe drop_duplicates method

  • Additionally convert existing tests of DF drop_na method to use assert_type.

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.

Overall, looks good.

pandas-stubs/core/frame.pyi Outdated Show resolved Hide resolved
pandas-stubs/core/series.pyi Outdated Show resolved Hide resolved
@hyperc54
Copy link
Contributor Author

Right thanks! definitely missed the subtlety. I applied the suggestions.

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 @hyperc54

@Dr-Irv Dr-Irv merged commit df1cd38 into pandas-dev:main Nov 13, 2024
10 checks passed
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