Skip to content

Fix inplace overload for DataFrame.interpolate #694

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 2 commits into from
May 12, 2023

Conversation

twoertwein
Copy link
Member

Comment on lines 218 to 220
limit: int | None = ...,
downcast: dict | None = ...,
*,
inplace: Literal[False],
inplace: Literal[False] = ...,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Need to preserve the ordering of the params. inplace comes before limit, then downcast

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

@Dr-Irv Dr-Irv merged commit 55546cf into pandas-dev:main May 12, 2023
@twoertwein twoertwein deleted the inplace branch August 14, 2023 17:08
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.

DataFrame.interpolate method return type does not honor default inplace argument
2 participants