Skip to content

Conversation

@jbrockmendel
Copy link
Member

No description provided.

assert kind in ["loc", "getitem", "iloc", None]

if not is_scalar(key):
raise TypeError(key)
Copy link
Contributor

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?

Copy link
Member Author

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kk

@jreback jreback added Indexing Related to indexing on series/frames, not to indexes themselves Refactor Internal refactoring of code labels Feb 5, 2020
@jreback jreback added this to the 1.1 milestone Feb 5, 2020
@jreback jreback merged commit 1d5d5a3 into pandas-dev:master Feb 5, 2020
@jbrockmendel jbrockmendel deleted the convert_scalar_indexer2 branch February 5, 2020 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Indexing Related to indexing on series/frames, not to indexes themselves Refactor Internal refactoring of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants