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
ENH: Accept list as level for groupby in non-MultiIndexed objects
closes#13901
Author: agraboso <[email protected]>
Closes#13907 from agraboso/fix-13901 and squashes the following commits:
fcbb724 [agraboso] ENH: Accept list as level for groupby in non-MultiIndexed objects
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.19.0.txt
+1
Original file line number
Diff line number
Diff line change
@@ -515,6 +515,7 @@ Other enhancements
515
515
- ``astype()`` will now accept a dict of column name to data types mapping as the ``dtype`` argument. (:issue:`12086`)
516
516
- The ``pd.read_json`` and ``DataFrame.to_json`` has gained support for reading and writing json lines with ``lines`` option see :ref:`Line delimited json <io.jsonl>` (:issue:`9180`)
517
517
- :func:``read_excel`` now supports the true_values and false_values keyword arguments (:issue:`13347`)
518
+
- ``groupby()`` will now accept a scalar and a single-element list for specifying ``level`` on a non-``MultiIndex`` grouper. (:issue:`13907`)
0 commit comments