Skip to content

BUG: inplace ignored for empty DataFrame by DataFrame.interpolate #53199

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

Closed
2 of 3 tasks
twoertwein opened this issue May 12, 2023 · 0 comments · Fixed by #53223
Closed
2 of 3 tasks

BUG: inplace ignored for empty DataFrame by DataFrame.interpolate #53199

twoertwein opened this issue May 12, 2023 · 0 comments · Fixed by #53223
Labels
Bug DataFrame DataFrame data structure inplace Relating to inplace parameter or equivalent Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate

Comments

@twoertwein
Copy link
Member

Pandas version checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pandas.

  • I have confirmed this bug exists on the main branch of pandas.

Reproducible Example

pd.DataFrame().interpolate(method="linear", inplace=True)  # should return None

Issue Description

The above returns the empty DataFrame.

xref pandas-dev/pandas-stubs#691

Expected Behavior

Returns None

Installed Versions

Replace this line with the output of pd.show_versions()

@twoertwein twoertwein added Bug Needs Triage Issue that has not been reviewed by a pandas team member labels May 12, 2023
@lithomas1 lithomas1 added Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate inplace Relating to inplace parameter or equivalent DataFrame DataFrame data structure and removed Needs Triage Issue that has not been reviewed by a pandas team member labels May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug DataFrame DataFrame data structure inplace Relating to inplace parameter or equivalent Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants