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

feature.copy() doesn't retain manually created name #2465

Open
dvreed77 opened this issue Jan 27, 2023 · 0 comments
Open

feature.copy() doesn't retain manually created name #2465

dvreed77 opened this issue Jan 27, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dvreed77
Copy link
Contributor

If I manually rename a feature:

feature = feature.rename("my_name")

and then copy that feature, the new feature doesn't retain new name.

renamed_feature = orig_feature.rename("my_name")
copied_feature = renamed_feature.copy()

assert copied_feature.get_name() == renamed_feature.get_name()
@dvreed77 dvreed77 added the bug Something isn't working label Jan 27, 2023
@thehomebrewnerd thehomebrewnerd removed their assignment May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants