Skip to content

groupby on single col df results in ValueError on Master, works on 0.18.1 #13530

@alan-wong

Description

@alan-wong

On 0.18.1 the following works without error

df = pd.DataFrame({'a':list('abssbab')})
df.groupby('a').count()

this results in an empty df:

Out[255]:
Empty DataFrame
Columns: []
Index: [a, b, s]

On Master it results in an error see related: #13393

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions