Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically infer colorable_fields on create_index #149

Open
bmschmidt opened this issue Apr 26, 2023 · 0 comments
Open

Automatically infer colorable_fields on create_index #149

bmschmidt opened this issue Apr 26, 2023 · 0 comments

Comments

@bmschmidt
Copy link
Collaborator

Asking people to pass colorable_fields is a little annoying; if not passed, we could infer colorability based on the following rules.

  1. If it's a float or an int, include it.
  2. If it's a date, include it.
  3. 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.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant