arthurai.core.dataset_validation_utils.validate_attr_names#
- arthurai.core.dataset_validation_utils.validate_attr_names(col_names)#
Validates attribute names are correctly formatted
Validates attribute names are made of alphanumeric characters and underscores and don’t start with a number.
- Param
col_names: pd.Index of attribute names to be checked
- Raises
UserValueError: At least one attribute name is not correctly formatted
- Return type
None