Skip to content

ENH: Add Index.str.get_dummies #12842

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
wants to merge 1 commit into from

Conversation

sinhrks
Copy link
Member

@sinhrks sinhrks commented Apr 10, 2016

Add Index.str.get_dummies which always returns MultiIndex.

@sinhrks sinhrks added the Strings String extension data type and string data label Apr 10, 2016
@sinhrks sinhrks added this to the 0.18.1 milestone Apr 10, 2016
@@ -66,6 +66,13 @@ Other Enhancements
idx.take([2, -1]) # default, allow_fill=True, fill_value=None
idx.take([2, -1], fill_value=True)

- ``Index`` now supports ``.str.get_dummies()`` which returns ``MultiIndex`` (:issue:`10008`, :issue:`10103`)

Copy link
Contributor

Choose a reason for hiding this comment

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

@sinhrks
Copy link
Member Author

sinhrks commented Apr 10, 2016

OK, added the doc.

@jreback
Copy link
Contributor

jreback commented Apr 11, 2016

thanks!

@jreback jreback closed this in e1aa2d9 Apr 11, 2016
@sinhrks sinhrks deleted the idx_getdummies branch April 11, 2016 13:48
@jorisvandenbossche
Copy link
Member

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Strings String extension data type and string data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants