Skip to content

Commit 60873ce

Browse files
phoflpmhatre1
authored andcommitted
DOC: Fix rendering of whatsnew entries (pandas-dev#57871)
1 parent 5a502b0 commit 60873ce

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/source/whatsnew/v3.0.0.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,16 @@ Now using multiple groupings will also pass the unobserved groups to the provide
9191
9292
Similarly:
9393

94-
- In previous versions of pandas the method :meth:`.DataFrameGroupBy.sum` would result in ``0`` for unobserved groups, but :meth:`.DataFrameGroupBy.prod`, :meth:`.DataFrameGroupBy.all`, and :meth:`.DataFrameGroupBy.any` would all result in NA values. Now these methods result in ``1``, ``True``, and ``False`` respectively.
95-
- :meth:`.DataFrameGroupBy.groups` did not include unobserved groups and now does.
94+
- In previous versions of pandas the method :meth:`.DataFrameGroupBy.sum` would result in ``0`` for unobserved groups, but :meth:`.DataFrameGroupBy.prod`, :meth:`.DataFrameGroupBy.all`, and :meth:`.DataFrameGroupBy.any` would all result in NA values. Now these methods result in ``1``, ``True``, and ``False`` respectively.
95+
- :meth:`.DataFrameGroupBy.groups` did not include unobserved groups and now does.
9696

9797
These improvements also fixed certain bugs in groupby:
9898

99-
- :meth:`.DataFrameGroupBy.nunique` would fail when there are multiple groupings, unobserved groups, and ``as_index=False`` (:issue:`52848`)
100-
- :meth:`.DataFrameGroupBy.agg` would fail when there are multiple groupings, unobserved groups, and ``as_index=False`` (:issue:`36698`)
101-
- :meth:`.DataFrameGroupBy.sum` would have incorrect values when there are multiple groupings, unobserved groups, and non-numeric data (:issue:`43891`)
102-
- :meth:`.DataFrameGroupBy.groups` with ``sort=False`` would sort groups; they now occur in the order they are observed (:issue:`56966`)
103-
- :meth:`.DataFrameGroupBy.value_counts` would produce incorrect results when used with some categorical and some non-categorical groupings and ``observed=False`` (:issue:`56016`)
99+
- :meth:`.DataFrameGroupBy.agg` would fail when there are multiple groupings, unobserved groups, and ``as_index=False`` (:issue:`36698`)
100+
- :meth:`.DataFrameGroupBy.groups` with ``sort=False`` would sort groups; they now occur in the order they are observed (:issue:`56966`)
101+
- :meth:`.DataFrameGroupBy.nunique` would fail when there are multiple groupings, unobserved groups, and ``as_index=False`` (:issue:`52848`)
102+
- :meth:`.DataFrameGroupBy.sum` would have incorrect values when there are multiple groupings, unobserved groups, and non-numeric data (:issue:`43891`)
103+
- :meth:`.DataFrameGroupBy.value_counts` would produce incorrect results when used with some categorical and some non-categorical groupings and ``observed=False`` (:issue:`56016`)
104104

105105
.. _whatsnew_300.notable_bug_fixes.notable_bug_fix2:
106106

0 commit comments

Comments
 (0)