Skip to content

Conversation

kawochen
Copy link
Contributor

To close #10395.

Copy link
Contributor

Choose a reason for hiding this comment

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

change to is more obvious what is going on.

if axis == 1:
    new_data = self._constructor(new_data).T._data
self._update_inplace(new_data)

@jreback jreback added Bug Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate labels Jun 22, 2015
@jreback jreback added this to the 0.17.0 milestone Jun 22, 2015
@kawochen
Copy link
Contributor Author

@jreback tests are green

jreback added a commit that referenced this pull request Jun 23, 2015
BUG: GH10395 bug in DataFrame.interpolate with axis=1 and inplace=True
@jreback jreback merged commit 4220d47 into pandas-dev:master Jun 23, 2015
@jreback
Copy link
Contributor

jreback commented Jun 23, 2015

@kawochen thanks! another nice fix!

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.

bug: interpolate() row-by-row doesn't work when setting inplace=True
2 participants