Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

DEPR: inplace in GroupBy.fillna #53438

Closed

Conversation

rhshadrach
Copy link
Member

@rhshadrach rhshadrach added Groupby Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Deprecate Functionality to remove in pandas Transformations e.g. cumsum, diff, rank labels May 29, 2023
):
result = gb.fillna(method="ffill", inplace=inplace)
if inplace and inplace is not lib.no_default:
expected = Series([None, None], dtype=object, index=[1, 2])
Copy link
Member

Choose a reason for hiding this comment

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

i think you need to specify index dtype for windows/32bit builds

@rhshadrach rhshadrach mentioned this pull request Jun 2, 2023
5 tasks
@rhshadrach
Copy link
Member Author

Closing in favor of #53496

@rhshadrach rhshadrach closed this Jun 3, 2023
@rhshadrach rhshadrach deleted the depr_gb_fillna_inplace branch September 27, 2023 21:02
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Deprecate Functionality to remove in pandas Groupby Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Transformations e.g. cumsum, diff, rank
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DEPR: inplace in DataFrameGroupBy.fillna and SeriesGroupBy.fillna
2 participants