You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently https://github.com/JuliaData/TableMetadataTools.jl is intended to support such operations as in DataAPI.jl we wanted to keep a minimal API that is required. Would this extra package meet your needs?
To me its seems that simplifying the copying of metadata between data frames would be best handled in native DataFrames.jl as this is an entry point for most people. I would think that the change to code would be minimal as it would just be a simple DataFrames.metadata! dispatch on a dictionary. But you'll certainly have a more informed view on this than I.
I guess the distinction between what belongs in what package is always a bit grey. To me it seems that copying of metadata between data frames would be rudimentary operation that should be supported alongside DataFrames.metadata in DataFrames.jl. The question is, is copying metadata a core operation when using DataFrames? If it is then the user should not be expected to load a new package to do the operation.. if not then the operation should be kept in DataFramesMeta.jl.
To copy metadata between data frames (df1 and df2) requires:
It would be convenient if
metadata!
could directly acceptmetadata
Dict() output so that the above becomes:I suspect this would also be handy for setting multiple metadata fields with a single Dict()
The text was updated successfully, but these errors were encountered: