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

xts-like string date indexing shorthand #222

Closed
wesm opened this issue Oct 12, 2011 · 4 comments

Comments

@wesm
Copy link
Member

commented Oct 12, 2011

ISO-8601 format

@wesm

This comment has been minimized.

Copy link
Member Author

commented Feb 26, 2012

Take a look at xts, it goes beyond just being able to pass timestamps as strings. Like ts['2001'] will select all data with year 2001. Not sure the best place to put the implementation of that

@adamklein

This comment has been minimized.

Copy link
Contributor

commented Feb 27, 2012

Indeed. I imagine we'll eventually want to take additional control of the parser to do stuff like this. Although it's really not many keystrokes more than ts[ts.year == 2001], I agree it would be nice.

@wesm

This comment has been minimized.

Copy link
Member Author

commented Feb 27, 2012

That's O(n) tho. Can do O(log n)

Sent from my mobile device

On Feb 26, 2012, at 8:11 PM, Adam Klein
reply@reply.github.com
wrote:

Indeed. I imagine we'll eventually want to take additional control of the parser to do stuff like this. Although it's really not many keystrokes more than ts[ts.year == 2001], I agree it would be nice.


Reply to this email directly or view it on GitHub:
#222 (comment)

@adamklein

This comment has been minimized.

Copy link
Contributor

commented Feb 27, 2012

Good point.

@wesm wesm closed this Apr 23, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.