nominal function
The nominal function returns the values of the specified attribute cast to the nominal data type.
Parameters
nominal(column)
Parameter | Description |
---|---|
column | The attribute whose values will be cast to the nominal data type. |
Example - nominal(column)
The following example uses the Sales _2017dataset.
Description | Screenshot |
---|---|
In this example, the Month_ID attribute is expressed as an integer value. | |
We can use the nominal function to convert the data type to nominal, so it will also accept months written as days (e.g. June) and not just as an integer. The required formula is |