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

RF: Use DataFrame.rename instead of ad hoc process #2937

Merged
merged 1 commit into from
Jan 23, 2023

Conversation

effigies
Copy link
Member

Changes proposed in this pull request

We had a use of deprecated Index.ravel() functionality. It turns out this was to do the same thing as DataFrame.rename(columns=mapper), so I just replaced that.

Closes #2904.

@effigies effigies added this to the 23.0.0 milestone Jan 18, 2023
Copy link
Collaborator

@mgxd mgxd left a comment

Choose a reason for hiding this comment

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

much more efficient

@effigies effigies merged commit 5f42f5e into nipreps:master Jan 23, 2023
@effigies effigies deleted the mnt/pandas_deprecation branch August 24, 2023 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done (To be released)
Development

Successfully merging this pull request may close these issues.

Remove Pandas Index.ravel()
2 participants