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

mutate: overwrite columns #336

Open
dmpetrov opened this issue Aug 21, 2024 · 0 comments
Open

mutate: overwrite columns #336

dmpetrov opened this issue Aug 21, 2024 · 0 comments

Comments

@dmpetrov
Copy link
Member

#306 is a workaround that throws an exception. But we need to implement this functionality with a potential schema change.

This command should change my_dist to another value with a new type (int --> float):

dc.select("file", "my_dist").mutate(my_dist=dc.column("my_dist") * 2* 3.14)
@skshetry skshetry self-assigned this Sep 26, 2024
@skshetry skshetry removed their assignment Oct 12, 2024
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