Skip to content

groupby error when grouping by float index with non-unique values #29189

Closed
@jeybrahms

Description

@jeybrahms

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugGroupbyRegressionFunctionality that used to work in a prior pandas version

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions