Skip to content

REF: move repeat to ExtensionIndex #30809

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

Merged
merged 1 commit into from
Jan 8, 2020

Conversation

jbrockmendel
Copy link
Member

No description provided.

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -164,6 +164,11 @@ class ExtensionIndex(Index):

_data: ExtensionArray

def repeat(self, repeats, axis=None):
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
def repeat(self, repeats, axis=None):
def repeat(self, repeats: Union[int, Sequence[int]], axis: Axis=None):

might be nice to add while moving

@WillAyd WillAyd added the Clean label Jan 8, 2020
@jreback jreback added this to the 1.0 milestone Jan 8, 2020
@jreback jreback merged commit f2b213c into pandas-dev:master Jan 8, 2020
@jreback
Copy link
Contributor

jreback commented Jan 8, 2020

thanks @jbrockmendel

request for additional typing as a followon

@jbrockmendel jbrockmendel deleted the ref-repeat branch January 8, 2020 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants