Open jariji opened 2 years ago
OK, let us decide on these + https://github.com/JuliaData/DataFrames.jl/issues/2767 and https://github.com/JuliaData/DataFrames.jl/issues/2890 in 1.5 release.
This requires a careful design, especially, handling the case when unnested data frames do not have matching column names.
Do we want unnest
to support only data frames, or also other Tables.jl tables? For row-like objects I think that #3005 solution with Tables.dictrowtable
is good enough.
We could not make a decision if we want it or no, so I keep this open. When working on it:
AsTable
then unnest
will not be needed)
Extract a table-valued column into top-level columns. Code by Bogumił Kamiński on Slack.
This might come with its opposite,
nest
.See also tidyr -
nest
andunnest
.