Closed jonashaag closed 1 year ago
If you pass a str to add_categorical_bound_constraint(columns=) it will error with KeyError: 'x' where x is the first letter of the column name. Maybe we can have it output a more helpful error message.
str
add_categorical_bound_constraint(columns=)
KeyError: 'x'
What we can do is that if the argument is not a Collection then it fails with a better error message.
If you pass a
str
toadd_categorical_bound_constraint(columns=)
it will error withKeyError: 'x'
where x is the first letter of the column name. Maybe we can have it output a more helpful error message.