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

transform_vec doesn't replace existing column #46

Open
xiaodaigh opened this issue Aug 19, 2020 · 0 comments
Open

transform_vec doesn't replace existing column #46

xiaodaigh opened this issue Aug 19, 2020 · 0 comments

Comments

@xiaodaigh
Copy link

xiaodaigh commented Aug 19, 2020

See MWE:

t = JuliaDB.table((a = [1,2, missing, 4, missing],))
t = @transform_vec t {a = coalesce(:a, 2)}

a is not replaced, but the below is fine, the new column b is created automatically.

t = JuliaDB.table((a = [1,2, missing, 4, missing],))
t = @transform_vec t {b = coalesce(:a, 2)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant