Skip to content

ENH: NDArrayBackedExtensionArray.fillna(method) with 2d #40294

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

Merged
merged 9 commits into from
Mar 9, 2021

Conversation

jbrockmendel
Copy link
Member

No description provided.

@@ -278,8 +278,12 @@ def fillna(

if mask.any():
if method is not None:
func = missing.get_fill_func(method)
new_values, _ = func(self._ndarray.copy(), limit=limit, mask=mask)
# TODO: check value is None
Copy link
Member

Choose a reason for hiding this comment

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

already done in validate_fillna_kwargs

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks, will update (possibly in upcoming CLN PR to avoid clogging the CI right now)

@jreback jreback added Internals Related to non-user accessible pandas implementation Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate labels Mar 9, 2021
@jreback jreback added this to the 1.3 milestone Mar 9, 2021
@jreback jreback merged commit 602ab16 into pandas-dev:master Mar 9, 2021
@jreback
Copy link
Contributor

jreback commented Mar 9, 2021

thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the enh-fillna-2d branch March 9, 2021 01:51
jbrockmendel added a commit to jbrockmendel/pandas that referenced this pull request Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internals Related to non-user accessible pandas implementation Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants