BUG: Series.groupby.rolling duplicates index when grouping over index #36794
Labels
Bug
Needs Triage
Issue that has not been reviewed by a pandas team member
Window
rolling, ewma, expanding
Milestone
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Code Sample, a copy-pastable example
Output:
Problem description
The duplicate
groupby_col
seems at least odd....
Expected Output
Would expect, that we get
groupby_col
only once in the index and aSeries
instead of aDataFrame
Maybe related to #36507, but
works. So I am not sure.
Output of
pd.show_versions()
master
The text was updated successfully, but these errors were encountered: