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

Table schema #27

Open
VEZY opened this issue Oct 12, 2023 · 1 comment
Open

Table schema #27

VEZY opened this issue Oct 12, 2023 · 1 comment

Comments

@VEZY
Copy link
Member

VEZY commented Oct 12, 2023

Add a way to compute a reliable schema for the table.
Put it into the table struct ? It could be used to check the columns types, or to make unions of types in the schema.

The issue right now is that we can have two rows with a different type for a value (e.g. A = nothing and A = 1.0), but the column will be whatever the type of the value in the first row. This is very bad!

@VEZY
Copy link
Member Author

VEZY commented Oct 12, 2023

Hint: see how DataFrames do it.

Maybe with a Tables.columns(t) because we have a NamedTuple iterator anyway ?

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