Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
DataFrame.resample() fails on empty DataFrame #2640
Comments
changhiskhan
was assigned
Jan 19, 2013
|
now returns empty DataFrame back. Thanks for the bug report. |
changhiskhan
closed this
Jan 19, 2013
changhiskhan
was unassigned
by wesm
Oct 12, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pikeas commentedJan 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.