Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion doc/source/whatsnew/v1.6.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ Plotting
Groupby/resample/rolling
^^^^^^^^^^^^^^^^^^^^^^^^
- Bug in :meth:`DataFrameGroupBy.sample` raises ``ValueError`` when the object is empty (:issue:`48459`)
-
- Deprecated behaviour of :meth:`DataFrameGroupBy.fillna`, :meth:`SeriesGroupBy.fillna` allowing only keyword arguments except value(:issue:`48395`)


Reshaping
^^^^^^^^^
Expand Down
1 change: 1 addition & 0 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -6710,6 +6710,7 @@ def fillna(
def fillna(
self: NDFrameT,
value: Hashable | Mapping | Series | DataFrame = None,
*,
method: FillnaOptions | None = None,
axis: Axis | None = None,
inplace: bool_t = False,
Expand Down
2 changes: 2 additions & 0 deletions pandas/core/groupby/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@ def build_codes(lev_codes: np.ndarray) -> np.ndarray:
def fillna(
self,
value: object | ArrayLike | None = None,
*,
method: FillnaOptions | None = None,
axis: Axis | None = None,
inplace: bool = False,
Expand Down Expand Up @@ -2075,6 +2076,7 @@ def value_counts(
def fillna(
self,
value: Hashable | Mapping | Series | DataFrame = None,
*,
method: FillnaOptions | None = None,
axis: Axis | None = None,
inplace: bool = False,
Expand Down