Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataFrame.resample() fails on empty DataFrame #2640

Closed
pikeas opened this issue Jan 5, 2013 · 1 comment
Closed

DataFrame.resample() fails on empty DataFrame #2640

pikeas opened this issue Jan 5, 2013 · 1 comment
Labels
Bug Datetime Datetime data dtype
Milestone

Comments

@pikeas
Copy link

pikeas commented Jan 5, 2013

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.

@ghost ghost assigned changhiskhan Jan 19, 2013
@changhiskhan
Copy link
Contributor

now returns empty DataFrame back. Thanks for the bug report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Datetime Datetime data dtype
Projects
None yet
Development

No branches or pull requests

2 participants