Automatically infer colorable_fields on create_index
Opened this issue · 0 comments
bmschmidt commented
Asking people to pass colorable_fields
is a little annoying; if not passed, we could infer colorability based on the following rules.
- If it's a float or an int, include it.
- If it's a date, include it.
- If it's a string, check the cardinality; include as a likely categorical if it has lots of repeats. (note--this is the tricky one, because the cardinality of previously uploaded data isn't necessarily handy when a user creates an index.)