You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.2.0.rst
+2-1
Original file line number
Diff line number
Diff line change
@@ -152,6 +152,7 @@ Plotting
152
152
Groupby/resample/rolling
153
153
^^^^^^^^^^^^^^^^^^^^^^^^
154
154
155
+
- Bug in :meth:`DataFrameGroupBy.count` and :meth:`SeriesGroupBy.sum` returning ``NaN`` for missing categories when grouped on multiple ``Categoricals``. Now returning ``0`` (:issue:`35028`)
155
156
- Bug in :meth:`DataFrameGroupBy.apply` that would some times throw an erroneous ``ValueError`` if the grouping axis had duplicate entries (:issue:`16646`)
156
157
-
157
158
-
@@ -160,7 +161,7 @@ Groupby/resample/rolling
160
161
Reshaping
161
162
^^^^^^^^^
162
163
163
-
-
164
+
- Bug in :meth:`DataFrame.pivot_table` with ``aggfunc='count'`` or ``aggfunc='sum'`` returning ``NaN`` for missing categories when pivoted on a ``Categorical``. Now returning ``0`` (:issue:`31422`)
0 commit comments