groupby error when grouping by float index with non-unique values · Issue #29189 · pandas-dev/pandas (original) (raw)

Code Sample, a copy-pastable example if possible

pd.Series([2, 5, 6, 8], [2.0, 4.0, 4.0, 5.0]).groupby(level=0)

Problem description

This should just work instead of raising.

Expected Output

Output of pd.show_versions()

pandas : 0.26.0.dev0+593.g9d45934af
numpy : 1.17.0