-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: DatetimeIndex with time object as key #8907
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
edf35fb
to
0ef5c07
Compare
@behzadnouri looks good. can you run a perf check just to be sure nothing significant has changed. ping when ready (post if their is a problem, otherwise say a-ok). |
I ran the benchmarks and I got below; I cannot run the For the last benchmark which is worst, it does not even hit this line or this line. Since the benchmarks were ran on a shared server, it may have been on a different load and that has impacted result.
|
BUG: DatetimeIndex with time object as key
thanks! I think the timing on the last one was messed up somehow. Looked ok to me when I did it. |
@behzadnouri we get an error in this test:
|
A bit strange, we are here with two, and both getting an error, but a different one, for this test, with master. |
did u rebuild the cython? |
yes, we were also thinking that, and for @papaloizouc that solved it, but I keep getting the error, strange .. |
hmm u r in 32-but linux ? |
yep |
I can't further dig in at the moment, but some quick runs in the console:
So it gives here an index of length 2, while we say it should have 999900 periods. |
yep, I can confirm that this fixes it |
closes #8667
on master:
above would work on master branch if
n
was smaller than_SIZE_CUTOFF
._SIZE_CUTOFF
is set here