Tables.jl icon indicating copy to clipboard operation
Tables.jl copied to clipboard

An interface for tables in Julia

Results 49 Tables.jl issues
Sort by recently updated
recently updated
newest added

Docs: ``` help?> Tables.materializer Tables.materializer(x) => Callable The default materializer is Tables.columntable, which converts any table input into a NamedTuple of Vectors. It is recommended that for users implementing MyType,...

Under `test/select.jl`, several of the empty ByRow tests fail between lines 1579 and 1610. Errors ``` empty ByRow: Test Failed at /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1579 Expression: select(df, [] => (ByRow((()->begin #= /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1579 =#...

bug

```jl julia> DataFrame([Dict("a" => 1), Dict()]) ERROR: type Dict has no field a Stacktrace: [1-10] ⋮ internal @ Base, Tables, DataFrames, Unknown [11] DataFrame(x::Vector{Dict}) @ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/other/tables.jl:48 Use `err` to...

@quinnj The issue that `Tables.istable` can return `false` and the object is still a table resurfaces often. See e.g. https://github.com/JuliaEarth/geospatial-data-science-with-julia/issues/3 from today. What I propose: 1. allow packages to assume...

Following the discussion in https://github.com/JuliaData/DataFrames.jl/pull/3372#discussion_r1335238316 It would make sense to add `cols` kwarg to `Tables.columns`. Let us discuss here if it would make sense, because maybe it is better to...

@quinnj Current behavior is: ``` julia> Tables.columnnames(Tables.dictrowtable([(a=1, b=2), (a=3, b=4), (a=5, b=6)])) (:names, :types, :values) ```

Hi! We have a problem in PrettyTables.jl related to huge matrices with row access. The current method, AFAIK, to access an element in those tables is to iterate the rows...

For instance, ```julia X = DataFrame(rand(Float64, 4, 2), :auto) X_row = Tables.rowtable(X) println(Tables.columnnames(X_row)) X_dict_row = Tables.dictrowtable(X) println(Tables.columnnames(X_dict_row)) X_col = Tables.columntable(X) println(Tables.columnnames(X_col)) ``` yields ``` () (:names, :types, :values) (:x1, :x2)...

``` using CSV data = CSV.load("filepath.csv") Tables.columnnames(data) # returns (:filename, :delim, :keywords)--property names--instead of column names ```

As we can see from the errors below, this issue is about having a general fallback to get the number of rows of a table (where known) which has come...