Skip to content

BUG: fix for interp with axis=1 and inplace #9695

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

Conversation

TomAugspurger
Copy link
Contributor

Closes #9687

There's still some weird issues with dtypes. In my test case there's a DataFrame with dtypes [int, float, int]. After the interpolation they should be downcasts to [int, int, int] when the missing value is filled. But along the way a transpose changes things to [float, float, float] before filling. And then (I think) self._update_inplace doesn't change dtypes, so the actual result is [float, float, float].

@jreback jreback added Bug Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate labels Mar 22, 2015
@jreback
Copy link
Contributor

jreback commented May 9, 2015

closing pls reopen if/when updated

@jreback jreback closed this May 9, 2015
@TomAugspurger TomAugspurger deleted the interp-inplace branch August 18, 2015 12:45
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataFrame.interpolate(axis=1, method="time", inplace=True)
2 participants