JSONTables.jl
JSONTables.jl copied to clipboard
JSON3.jl + Tables.jl
I wanted to see the json file corresponding to a dataframe that has dataframes as elements in one of the columns. ```julia> dfn 3×3 DataFrame Row │ f oc sdf...
There are combinations of heterogeneus data where the wrong column types are discovered. For example: ``` using JSONTables using Tables nonhomogenous = """ [ {"a": 1, "b": 2, "c": 3},...
I encounter http://jsonlines.org/ more and more often recently. Maybe we can also add a function to read in the data in this format?
I was searching through some data for a particular row and noticed that `[row for row in json_table if pred(row)]` is ridiculously fast (much faster than creating a `DataFrame` from...
I was wondering if there could be additional methods defined for `JSONTables.Table` Say: - `append!` - `size` etc.
Here is the test code: ``` using JSONTables, DataFrames results = DataFrame(cols=Int[], rows=Int[], arraytable=Float64[], objecttable=Float64[]) for cols in (100, 200, 300, 400, 500), rows in (10^3, 10^4, 10^5) @show (cols,...
Hi there, I have been using some code for transforming a DataFrame to JSON and back again, with the requirement that the de-JSONified DataFrame is an exact copy of the...
@quinnj This PR making me realize I'm bad at type parameters, I think we still want the `jsontable(x::JSON3.Array)` dispatch that I commented out. Should I make it `jsontable(x::JSON3.Array{Any})` or something?...