Tables.jl
Tables.jl copied to clipboard
An interface for tables in Julia
These include `MatrixTable`, `DictRowTable`, `DictColumnTable`, but perhaps there are others I don't know about. In support of: #330
Now using the newly proposed `DataAPI.rownumber` interface (https://github.com/JuliaData/DataAPI.jl/issues/60). We add an implementation for: `Tables.ColumnsRow`, `Tables.DictRow`, `Tables.IteratorRow` and `Tables.MatrixRow`. Note: a similar function (`getrow`) existed already for `ColumnsRow` and `IteratorRow`. These...
Generically, wide table schemas will bypass the type system: https://github.com/JuliaData/Tables.jl/blob/2cb13998e856692ed273c931b83477caf8b7b020/src/Tables.jl#L477-L483 But not for `MatrixTable`s: https://github.com/JuliaData/Tables.jl/blob/2cb13998e856692ed273c931b83477caf8b7b020/src/matrix.jl#L40 Maybe the branch should be put in the constructor, such that it is done for...
Tables.jl currently supports column access by `Integer`s and `Symbol`s. Many implementations use `Symbol`s to keep track of column names, such as `DataFrames.Index`. However, generating too many unique `Symbol`s can lead...
> `Base.@pure ex` at ... is deprecated, use `Base.@assume_effects :foldable ex` instead.
Calling `Tables.istable` ends up at `hasmethod` as a fallback. (via TableTraits.jl and IteratorInterfaceExtensions.jl) This is super slow. It can be seen as the big chunk in blue/green in this flame...
I'm not sure if this method returns a table, a `AbstractColumns` object or a row iterator, because the documentation doesn't make that very clear. For example: ```julia # Code 1:...
ref https://github.com/beacon-biosignals/Legolas.jl/pull/54#discussion_r1005573216 copy/pasting @ericphanson 's comment: > Random thought: if we are going to be using `Tables.Schema` a lot more (not sure if we are yet), it could be nice...
Fixes https://github.com/JuliaData/Tables.jl/issues/354.