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

REGR: Interpolate with method=index #61183

Merged
merged 5 commits into from
Mar 29, 2025

Conversation

rhshadrach
Copy link
Member

@rhshadrach rhshadrach commented Mar 26, 2025

Partial revert of #56515. Regression is only on main; hasn't been released yet so no whatsnew.

@rhshadrach rhshadrach added Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Bug Regression Functionality that used to work in a prior pandas version labels Mar 26, 2025
# except for methods with known inaccuracies
assert np.all(
np.isclose(ser_resampled.values[1:], np.arange(0.5, 4.5, 0.5), rtol=1.0e-1)
if method == "linear":
Copy link
Member Author

Choose a reason for hiding this comment

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

Only behavior change is with linear; the rest is just improving this test.

@rhshadrach rhshadrach marked this pull request as ready for review March 26, 2025 16:44
@mroeschke
Copy link
Member

Looks like the resample interpolate doctests are failing https://github.com/pandas-dev/pandas/actions/runs/14088933670/job/39460360510?pr=61183

@mroeschke mroeschke added this to the 3.0 milestone Mar 29, 2025
@mroeschke mroeschke merged commit b69a2ae into pandas-dev:main Mar 29, 2025
42 checks passed
@mroeschke
Copy link
Member

Thanks @rhshadrach

@rhshadrach rhshadrach deleted the fix_interpolate_index branch March 29, 2025 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Regression Functionality that used to work in a prior pandas version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Series.interpolate regression in latest Pandas 3.0.0 nightly (method 'linear' behaves like 'index')
2 participants