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

BUG: #12624 where Panel.fillna() ignores inplace=True #12630

Closed
wants to merge 1 commit into from
Closed

BUG: #12624 where Panel.fillna() ignores inplace=True #12630

wants to merge 1 commit into from

Conversation

PedroMDuarte
Copy link

Fixes #12624

Author: Pedro M Duarte pmd323@gmail.com

Fixes #12624

Author: Pedro M Duarte <pmd323@gmail.com>
@jreback jreback added Bug Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate labels Mar 15, 2016
@@ -3122,7 +3122,8 @@ def fillna(self, value=None, method=None, axis=None, inplace=False,
elif self.ndim == 3:

# fill in 2d chunks
result = dict([(col, s.fillna(method=method, value=value))
result = dict([(col, s.fillna(method=method, value=value,
Copy link
Contributor

Choose a reason for hiding this comment

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

this doesn't work as if inplace=True returns None.

@jreback jreback changed the title BUG: GH12624 where Panel.fillna() ignores inplace=True BUG: #12624 where Panel.fillna() ignores inplace=True Mar 15, 2016
@jreback
Copy link
Contributor

jreback commented Mar 15, 2016

xref #12633

@jreback
Copy link
Contributor

jreback commented Mar 15, 2016

duped in #12633

thanks!

@jreback jreback closed this Mar 15, 2016
@PedroMDuarte
Copy link
Author

Thanks for the feedback, Jeff! I wanted to get home to fix it but seems like it has been taken care of. Will look for another easy one I can try to help with.

@jreback
Copy link
Contributor

jreback commented Mar 16, 2016

@PedroMDuarte np. this actually happens pretty rarely when 2 people are working on the same issue. In any event lots of issues to try for!

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: Panel.fillna() ignores inplace=True
2 participants