-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: (GH3925) partial string selection with seconds resolution #3931
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
Conversation
this is a bit inconsistent with the to-be-deprecated arith ops broadcasting behavior is it not? |
i find it the following a bit confusing, maybe it's just me
is there really that much added by saving 5 characters? i think it makes it confusing because now u have 2 remember that rows are sliced if a single date is passed, but if u passed 0 that will |
@cpcloud you are right, this is inconsisten. Sicing with a string is fine because its treated as a slice (of course could just return 1 label) and this is fine, but a single datetime is not ....(just like
Integer indexed frame
|
is this going to be merged? i would assume no as per the other thread....close? |
do you have a problem with the new PR? (which reverses out the last change) and only fixes a bug |
oh sorry yeah it's fine! :) |
@wesm was there a reason that second resolution via string not originaly implemented? |
what is the bug here? i wasn't aware that passing a date string with any resolution was allowed unless that was in the column index... |
partial string indexing try df['2012'] etc (generate dates of string frequencies) |
ah i c thanks. |
http://pandas.pydata.org/pandas-docs/dev/timeseries.html#datetimeindex I think the docs need expansion here in any event |
hm so should this eventually be for all dt strings? current not working for usecs |
guess should add that too though this is for string slicing not sure how useful that would be |
yeah i'm not sure that's that useful since at that point you should probably be resampling anyway |
any reason u didn't implement this originally? |
Nope |
…cting from a time index
BUG: (GH3925) partial string selection with seconds resolution
@snth thanks...fixed up |
this no longer has much to do with #3925, and is only fixing a bug
Minor revision to select on second frequency