Skip to content
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

Reset index function #206

Closed
dansbits opened this issue Aug 2, 2016 · 1 comment
Closed

Reset index function #206

dansbits opened this issue Aug 2, 2016 · 1 comment

Comments

@dansbits
Copy link
Contributor

dansbits commented Aug 2, 2016

Is there a function on the data frame similar to the pandas reset_index method for adding the values in the index to the dataframe. I often find myself wanting to re-incorporate the index back into my dataframe after using group_by.

I don't see anything and wanted to check before trying to add it.

@v0dro
Copy link
Member

v0dro commented Aug 3, 2016

Should be a good addition. How will the new vector that the index will create be named? Also, the new index that the dataframe will get will be numbered from zero right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants