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

Enhancement: more benevolent LeafEntry #141

Open
simonmandlik opened this issue Jun 7, 2024 · 0 comments
Open

Enhancement: more benevolent LeafEntry #141

simonmandlik opened this issue Jun 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@simonmandlik
Copy link
Collaborator

simonmandlik commented Jun 7, 2024

Currently, the following fails:

julia schema(["1", 1])
ERROR: InconsistentSchema at root: Can't store `Int64` into `LeafEntry{String}`!

which is ok as long as we want to process the data in this leaf all as Strings or all as Numbers. However, if the amount of values is small, we might want to process this as a categorical variable.

In such case, we need a way of schema creation that wouldn't fail. What would be a suitable interface for this?

@simonmandlik simonmandlik added the enhancement New feature or request label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant