Skip to content

better error for rename! and improved docstring #2368

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 2 commits into from
Aug 19, 2020

Conversation

bkamins
Copy link
Member

@bkamins bkamins commented Aug 14, 2020

Currently rename! on SubDataFrame either worked or failed with MethodError which was not very clear. This PR clarifies this.

I opt to allow rename! for SubDataFrame with Index, as this is consistent with what we discuss in #2211 (i.e. to make SubDataFrame created with : special).

@bkamins bkamins added backport feature non-breaking The proposed change is not breaking labels Aug 14, 2020
@bkamins bkamins added this to the 1.0 milestone Aug 14, 2020
@bkamins bkamins removed the backport label Aug 19, 2020
@bkamins bkamins merged commit 3345f69 into JuliaData:master Aug 19, 2020
@bkamins bkamins deleted the improve_rename! branch August 19, 2020 17:32
@bkamins
Copy link
Member Author

bkamins commented Aug 19, 2020

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature non-breaking The proposed change is not breaking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants