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
BUG: agg with dictlike and non-unique col will return wrong type (#52115)
* BUG: Agg in non-unique col
* what is new
* Fix bug but add more codes
* Fix mypy and improve what's new
* Improve preformance
* Improve preformance
* Improve what'new and comment
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v2.1.0.rst
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -364,6 +364,7 @@ Groupby/resample/rolling
364
364
Reshaping
365
365
^^^^^^^^^
366
366
- Bug in :meth:`DataFrame.stack` losing extension dtypes when columns is a :class:`MultiIndex` and frame contains mixed dtypes (:issue:`45740`)
367
+
- Bug in :meth:`DataFrame.agg` and :meth:`Series.agg` on non-unique columns would return incorrect type when dist-like argument passed in (:issue:`51099`)
367
368
- Bug in :meth:`DataFrame.transpose` inferring dtype for object column (:issue:`51546`)
368
369
- Bug in :meth:`Series.combine_first` converting ``int64`` dtype to ``float64`` and losing precision on very large integers (:issue:`51764`)
0 commit comments