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

.time().between(...) for time selection #1098

Closed
jreback opened this issue Aug 9, 2017 · 0 comments
Closed

.time().between(...) for time selection #1098

jreback opened this issue Aug 9, 2017 · 0 comments
Labels
feature Features or general enhancements

Comments

@jreback
Copy link
Contributor

jreback commented Aug 9, 2017

allow filtering on the .time() of a datetime type (in the local tz)

t.time().between('10:00', '10:00')

pandas has additional arg include_start=True, include_end=True, which we could add here, alternatively, could spell this like (or do both of these)

(t.time() >= '10:00') & (t.time <= '10:00')

currently this can be accomplished via

(t.hour()==10) & (t.minute()==0) & (t.second())==0) but a little awkward

@jreback jreback added the feature Features or general enhancements label Aug 9, 2017
jreback added a commit to jreback/ibis that referenced this issue Aug 10, 2017
imlpmenet BetweenTime node
closes ibis-project#1098
jreback added a commit to jreback/ibis that referenced this issue Aug 10, 2017
imlpmenet BetweenTime node
closes ibis-project#1098
jreback added a commit to jreback/ibis that referenced this issue Aug 10, 2017
imlpmenet BetweenTime node
closes ibis-project#1098
jreback added a commit to jreback/ibis that referenced this issue Aug 10, 2017
imlpmenet BetweenTime node
closes ibis-project#1098
jreback added a commit to jreback/ibis that referenced this issue Aug 11, 2017
imlpmenet BetweenTime node
closes ibis-project#1098
jreback added a commit to jreback/ibis that referenced this issue Aug 13, 2017
imlpmenet BetweenTime node
closes ibis-project#1098
jreback added a commit to jreback/ibis that referenced this issue Aug 13, 2017
imlpmenet BetweenTime node
closes ibis-project#1098
jreback added a commit to jreback/ibis that referenced this issue Aug 13, 2017
imlpmenet BetweenTime node
closes ibis-project#1098
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Features or general enhancements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant