-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
REF: simplify PeriodIndex.get_loc #31598
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
Changes from 12 commits
8e17545
357fb8f
fdbf814
d46780a
a857fa6
2de7966
17c4329
20063e1
71ce7d0
8bced71
0fb548d
dca8c7c
15e15ef
356b64c
2dc116f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -153,7 +153,6 @@ def test_setitem_ndarray_3d(self, index, obj, idxr, idxr_id): | |
"floating", | ||
"string", | ||
"datetime64", | ||
"period", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what changed here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. on the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this test is a mess, is hiding the fact that all of the cases in this block should raise but currently dont (xref #31813) |
||
"timedelta64", | ||
"boolean", | ||
"categorical", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this changes perf? the reason is that we have already created an _int64index, but now we are creating something new?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we're creating a new object here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the engine itself is (maybe) being created again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i guess on the first all, but on the flip side the _int64index may not have been created yert