JuliaData / TypedTables.jl

Simple, fast, column-based storage for data analysis in Julia
Other
147 stars 25 forks source link

Allow creating empty Table #91

Open adkabo opened 2 years ago

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

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 commented 9 months ago

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