Last updated 1 year ago
One hot encode a column. Create a null value flag for the column if any of the values are NULL.
ds = rasgo.get.dataset(id) ds2 = ds.one_hot_encode(column='WEATHER_DESCRIPTION') ds2.preview()
column
Column name to one-hot encode
list_of_vals
string_list
optional argument to override the dynamic lookup of all values in the target one-hot column
True