Enum Definitions
The Enum type is a data type for categorical data with a predefined set of valid values. Each Enum definition specifies the allowed values.
Enum types are not auto-inferred when loading CSV files. You create an Enum definition first, then convert string columns to that Enum type. Enum definitions are shared across datasets within the same project (they are not carried over to other projects). Each Enum definition can contain up to 50 values. For categories exceeding this limit, use string type instead.
Opening the Manage Enums Tab
Select Data > Manage Enums... from the menu bar to open the Enum Definitions tab. Use this tab to create, edit, and delete Enum definitions.

Creating an Enum Manually
New Enum
- Click + New Enum
- Enter the Enum name
- Enter the values. The order you enter them becomes the Enum's value order, which is used for graph axes and sorting
- Click + Add Value to add more values
- Click Save
Validation Rules
- Enum name is required and must be unique among existing Enum names
- At least one value is required
- Duplicate values are not allowed
- Leading and trailing whitespace is automatically trimmed. Values are case-sensitive, so
Highandhighare treated as distinct values
Creating an Enum from a Column
You can auto-generate an Enum definition from the unique values of an existing string column.
- Click Create from Column
- Select a dataset
- Select a column. Only string-type columns are available
- Enter the Enum name. The default is
{column_name}_enum - Review the preview showing unique values with their counts and percentages
- Click Create Enum
Values are sorted by frequency in descending order. If the column has more than 50 unique values, only the top 50 most frequent values are used. A warning is displayed in the preview so you can verify which values are included.
If the frequency-based order does not suit your purpose, you can change the value order by editing the Enum after creation.

Editing and Deleting Enums
Editing
Click Edit on an Enum card to enter edit mode. You can change the name, and add or remove values. To change the value order, use the up and down arrow buttons next to each value.
When columns have been converted to this Enum type (dependent columns), dependency checks are performed.
- Renaming: Not allowed when dependent columns exist
- Removing values: Rejected when the removed values still appear in dependent-column data. This preserves the invariant that Enum column values are always in the definition or NULL. Use Column Type Conversion first to null-out or exclude those values, then remove them from the Enum definition
- Reordering: A warning dialog is displayed when dependent columns exist. For columns with ordinal scale, this affects Data Table sort order and the order of graph legends
- Adding values: Allowed without restrictions, even when dependent columns exist
Deleting
Click Delete on an Enum card to delete the Enum definition. Deletion is not allowed when dependent columns exist. Use Column Type Conversion to change the data type of dependent columns first.
Converting String Columns to Enum Type
After creating an Enum definition, use Column Type Conversion to convert string columns to the Enum type.
- Right-click a column header in Data Table and select Convert Column Types...
- In the To dropdown for the column you want to convert, select the Enum name you created
- Click Preview to review the conversion result
- Click Apply to execute the conversion
The conversion result is created as a new dataset. The original dataset is not modified.
If the string column contains values not included in the Enum definition, they are handled according to the error handling option in column type conversion. NULL replaces such cells with NULL, Exclude row removes the affected rows from the resulting dataset, and Fail aborts the conversion.
Ordinal Scale and Graph Ordering
Changing to Ordinal Scale
Enum columns default to the nominal scale. If the value order is meaningful, right-click the column header in Data Table and select Edit Scale of Measurement to change it to the ordinal scale. Measurement scales also affect which analysis methods are available. See Data Types and Measurement Scales for details.
Graph Axis Ordering
When you use an Enum column as a graph axis, the axis displays values in the order defined in the Enum definition regardless of the measurement scale. String-type categorical columns are sorted alphabetically, so converting to Enum type is useful when you need a specific display order.
Legend ordering for aesthetics (color, fill, shape, etc.) follows the Enum definition order only when the column is set to ordinal scale. With nominal scale, legends are sorted alphabetically as strings.
The basic statistics table of statistics by measurement scale assumes numeric columns (int64, float64). For Enum columns on the nominal scale, only frequency counts are shown, the same as string columns. On the ordinal scale, min / max / median / quartiles are also computed from the position order of the Enum definition, in addition to the frequency counts. IQR / mean / std / skewness / ex. kurt are not displayed, because ordinal categories do not have a defined distance and arithmetic has no defined meaning. See Basic Statistics - String Type and Enum Type for how these are computed.
See also
- Column Type Conversion - Converting column data types
- Data Types and Measurement Scales - Statistical meaning of measurement scales
- Data Table - Changing measurement scales