-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
REF: implement Categorical._validate_setitem_value #36180
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
|
|
||
| return lindexer | ||
|
|
||
| def _validate_setitem_key(self, 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.
can you type
| freq = self._get_getitem_freq(key) | ||
| return self._simple_new(result, dtype=self.dtype, freq=freq) | ||
|
|
||
| def _validate_getitem_key(self, 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.
same
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.
doc-string if easy
|
ok to type in later PRs, pls merge master |
…e-more-validator
|
updated+green |
Moving towards sharing more methods