Skip to content

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

@jreback

Description

@jreback
Contributor

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.

Activity

added this to the 0.16.0 milestone on Dec 12, 2014
modified the milestones: 0.16.0, Next Major Release on Mar 6, 2015
added a commit that references this issue on Mar 17, 2015
9bab07a
added 5 commits that reference this issue on Apr 1, 2015
00e6aea
4b9468b
78b68cb
e6b0a4b
23cf6b3
modified the milestones: 0.16.1, Next Major Release on Apr 6, 2015
added 6 commits that reference this issue on Apr 6, 2015
4b68a72
1b48868
8968009
7d734fb
ed77c72
f98bcb8
added a commit that references this issue on Apr 10, 2015
2734fff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      Participants

      @jreback

      Issue actions

        ENH: add StringMethods (e.g. .str) to Index · Issue #9068 · pandas-dev/pandas