Interprets and changes a column’s data to another (semantic) type.
"url"
type, so that it may be used
where Urls are expected (e.g. the step fetch_url_content
)."number"
type, will replace all
values that cannot be read as numbers with NaN."type"
parameter, e.g. "number"
,
"category"
etc.), the steps accepts different configuration parameters. See the subsections under
Parameters below for further details.
Examples
text
column to a category
column, use:ds.first_name
), datasets (ds
or ds[["first_name", "last_name"]]
) or models (referenced
by name e.g. "churn-clf"
).
Inputs
Outputs
step(..., {"param": "value", ...}) -> (output)
.
Parameters
"type": "number"
."decimal": "."
assumes that the period ”.” is used to
separate decimals and ”,” thousands, as in the number string “12,173.12”.Values must be one of the following:.
,
"thousand": "."
assumes that the period ”.” is used to
separate thousands and ”,” decimals, as in the number string “12.173,12”.Values must be one of the following:.
,