Replies: 1 comment 1 reply
-
Hi, you want to use the import vaex
import vaex.ml
df = vaex.ml.datasets.load_titanic()
df.func.where(df.embarked == 'S', 'Southampton', df.embarked) The where syntax is |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to make a selection of rows, modify the values of some columns on that selection and get the changes applied on the original dataframe. E.g., set column B to 1 on all rows where column A is True.
I can do a selection and make changes to that selection, but how can I get them ported to the original dataframe?
Beta Was this translation helpful? Give feedback.
All reactions