Showing results for 
Search instead for 
Did you mean: 

how to transform the var type in workbench

how to transform the var type in workbench

I don't see the "select" options and the "change var type" under action when the features are viewed in the work bench platform. I am wondering if it's possible to do the change directly from there 

Labels (2)
0 Kudos
1 Reply
DataRobot Employee
DataRobot Employee

Hi janevasky,


Within Workbench, the current way to "change var type" is to use the wrangle tool to create a new feature based on the feature you want to change. Within wrangle, add a step "Compute new feature" using a Cast function (e.g. for Snowflake: CAST , :: | Snowflake Documentation). For example, I created a new feature "ROWID_as_Num" and wrote the expression "CAST( RowID AS Number)" If your data is from another source, the function syntax may differ.

Just FYI, we are looking at ways to make this process more user friendly and to add support for wrangling on AI Catalog datasets. Thanks.