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

Improve between_time to be able to select time ranges that cross midnight #1871

Closed
wesm opened this issue Sep 9, 2012 · 1 comment
Closed
Labels
Datetime Datetime data dtype Enhancement
Milestone

Comments

@wesm
Copy link
Member

wesm commented Sep 9, 2012

inspired by: http://stackoverflow.com/questions/12041519/how-to-get-the-mean-of-a-specific-span-of-time

yarikoptic added a commit to neurodebian/pandas that referenced this issue Sep 27, 2012
* commit 'v0.9.0rc1-14-g1a4f041':
  DOC: add release notes to whatsnew
  Release notes and addition to test case for tzlocal
  BUG: errors when tz is tzlocal
  Add skip_footer to ExcelFile.parse and alias skipfooter/skip_footer
  revert skip_footer API change. use nrows instead
  ENH: between_time across midnight pandas-dev#1871
  BUG: DataFrame.reset_index failure if both drop and level are present pandas-dev#1957
@yeyeric
Copy link

yeyeric commented Dec 15, 2022

hello,
is there any solution to this ? it's not clear to me whether this has been implemented, and setting end_time before start_time ends in another behaviour than considering it being the day after. I managed to get through this by splitting my intervals at midnight but was wondering if there was something in pandas ?

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

No branches or pull requests

3 participants