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

Allow creating empty Table #91

Open
adkabo opened this issue Mar 22, 2022 · 2 comments
Open

Allow creating empty Table #91

adkabo opened this issue Mar 22, 2022 · 2 comments

Comments

@adkabo
Copy link

adkabo commented Mar 22, 2022

julia> Table()
ERROR: UndefVarError: n not defined
Stacktrace:
 [1] _ndims(#unused#::Type{Tuple{}})
   @ TypedTables ~/.julia/packages/TypedTables/zfbS2/src/TypedTables.jl:26
@andyferris
Copy link
Member

This would be good - but zero-column tables aren’t supported yet. (We need to store a mutable copy of the indices somewhere for that).

@BeastyBlacksmith
Copy link

A better error message would help in the meantime, though.

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

3 participants