Skip to content

DataFrame.resample() fails on empty DataFrame #2640

Closed
@pikeas

Description

@pikeas

If you resample() an empty DataFrame, you hit a TypeError in the else catch-all at line 98 of tseries/resample.py. This should either raise a different error, or return the passed empty DataFrame.

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