make_constant
Creates a new constant column (with a single unique value) of the same length as the input column.
input
column
requiredAn arbitrary input column, used only to match its dimension (number of rows).
output
column
requiredColumn filled with copies of the value specified in parameters. The data type of the output column will be the one specified by out_type.
value
[number, string, null, array, array]
requiredThe value to fill the new column with.
The data type of the output column depends on this value and the out_type
parameter.
out_type
string
requiredSelect types using their name.
Values must be one of the following:
category
date
number
boolean
url
sex
text
list[number]
list[category]
list[url]
list[boolean]
list[date]
Was this page helpful?