Divide two or more numeric columns in given order.
An additional constant may be used to divide the final result by.
The following examples show how the step can be used in a recipe.
Examples
To simply divide one column by another:
The following are the inputs expected by the step and the outputs it produces. These are generally
columns (ds.first_name
), datasets (ds
or ds[["first_name", "last_name"]]
) or models (referenced
by name e.g. "churn-clf"
).
Inputs
One or more numeric columns to divide (left to right).
Outputs
The result of the division.
The following parameters can be used to configure the behaviour of the step by including them in
a json object as the last “input” to the step, i.e. step(..., {"param": "value", ...}) -> (output)
.