datachain
datachain copied to clipboard
mutate: overwrite columns
#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)