-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TYP: stronger typing in libindex #40465
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
TYP: stronger typing in libindex #40465
Conversation
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.
Thanks @jbrockmendel lgtm
@@ -613,8 +613,8 @@ cdef class BaseMultiIndexCodesEngine: | |||
lab_ints = self._extract_level_codes(target) | |||
return self._base.get_indexer(self, lab_ints) | |||
|
|||
def get_indexer(self, object target, object values = None, | |||
object method = None, object limit = None) -> np.ndarray: | |||
def get_indexer_with_fill(self, ndarray target, ndarray values, |
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.
docstring update for target
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.
updated
Thanks @jbrockmendel |
and more consistent naming/args for MultiIndex engine.
Preliminary before making index.pyi