Skip to content

ENH: add StringMethods (e.g. .str) to Index #9068

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

Closed
jreback opened this issue Dec 12, 2014 · 0 comments · Fixed by #9667
Closed

ENH: add StringMethods (e.g. .str) to Index #9068

jreback opened this issue Dec 12, 2014 · 0 comments · Fixed by #9667

Comments

@jreback
Copy link
Contributor

jreback commented Dec 12, 2014

currently

Series.str.strip() works
but

Index(Series(Index.values).str.strip()) would be necessary for an index

should be very straightforward to move the .str accessor to IndexOpsMixin (from Series)
to support this (would need to prevent Index sub-classes from using it though as they don't support string ops.

@jreback jreback added this to the 0.16.0 milestone Dec 12, 2014
@jreback jreback modified the milestones: 0.16.0, Next Major Release Mar 6, 2015
mortada added a commit to mortada/pandas that referenced this issue Apr 1, 2015
mortada added a commit to mortada/pandas that referenced this issue Apr 2, 2015
mortada added a commit to mortada/pandas that referenced this issue Apr 2, 2015
mortada added a commit to mortada/pandas that referenced this issue Apr 6, 2015
mortada added a commit to mortada/pandas that referenced this issue Apr 6, 2015
@jreback jreback modified the milestones: 0.16.1, Next Major Release Apr 6, 2015
mortada added a commit to mortada/pandas that referenced this issue Apr 6, 2015
mortada added a commit to mortada/pandas that referenced this issue Apr 6, 2015
mortada added a commit to mortada/pandas that referenced this issue Apr 8, 2015
mortada added a commit to mortada/pandas that referenced this issue Apr 8, 2015
mortada added a commit to mortada/pandas that referenced this issue Apr 8, 2015
jreback added a commit that referenced this issue Apr 10, 2015
ENH: add StringMethods (.str accessor) to Index, fixes #9068
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant