Skip to content

ENH: support StringMethods index and rindex #10045

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
May 8, 2015

Conversation

mortada
Copy link
Contributor

@mortada mortada commented May 1, 2015

as a part of #9111

@sinhrks @jreback

@jreback
Copy link
Contributor

jreback commented May 4, 2015

are there any other routines that have an array as a return type?

@jreback jreback added the Strings String extension data type and string data label May 4, 2015
@mortada
Copy link
Contributor Author

mortada commented May 4, 2015

@jreback good catch, return type of array is used in the old docstrings, I'll update it

I also added to the release note

@mortada mortada force-pushed the str_index branch 2 times, most recently from 80080fb to 0cd5d83 Compare May 8, 2015 01:48
@mortada
Copy link
Contributor Author

mortada commented May 8, 2015

@jreback do you think this can make 0.16.1? seems like it'd be nice to get all the string methods in

@@ -39,6 +39,7 @@ Enhancements
Timestamp('2014-08-01 07:00') + BusinessHour()
Timestamp('2014-08-01 16:30') + BusinessHour()

- Added ``StringMethods.index()`` and ``rindex`` which behave the same as standard ``str`` (:issue:`10045`)
Copy link
Contributor

Choose a reason for hiding this comment

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

can u move this in the whatsnew with all the other steing changes

@jreback jreback added this to the 0.16.1 milestone May 8, 2015
@mortada
Copy link
Contributor Author

mortada commented May 8, 2015

@jreback i updated the release note

the only other PR remaining is for str.translate() here: #10052

@jreback
Copy link
Contributor

jreback commented May 8, 2015

was also passing before, right?

@mortada
Copy link
Contributor Author

mortada commented May 8, 2015

yes this was passing too, just changing docs

jreback added a commit that referenced this pull request May 8, 2015
ENH: support StringMethods index and rindex
@jreback jreback merged commit 6178eaa into pandas-dev:master May 8, 2015
@mortada mortada deleted the str_index branch May 8, 2015 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Strings String extension data type and string data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants