-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
REF: make _convert_scalar_indexer require a scalar #31676
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
REF: make _convert_scalar_indexer require a scalar #31676
Conversation
…nvert_scalar_indexer2
…nvert_scalar_indexer2
…nvert_scalar_indexer2
…nvert_scalar_indexer2
…nvert_scalar_indexer2
…nvert_scalar_indexer2
…nvert_scalar_indexer2
…nvert_scalar_indexer2
…nvert_scalar_indexer2
@@ -398,15 +398,17 @@ def _convert_scalar_indexer(self, key, kind=None): | |||
|
|||
assert kind in ["loc", "getitem", "iloc", None] | |||
|
|||
if not is_scalar(key): | |||
raise TypeError(key) |
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.
what is this now caught by?
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 check in indexing L1800 prevents us from actually getting 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.
kk
No description provided.