Thank you! That was an easy solution! I have another problem. When reading the file back to a data frame, the column metadata is lost. How can one retain the column metadata such that it is callable with a function like colmetadata(df, :var, “label”)
Thanks for directing me to the resource. I still don’t see a way to read an arrow table as a dataframe and retain the metadata. Do you know if it’s possible?
I’m looking to create a dataframe that has retained the metadata and column metadata from an arrow table with metadata and column metadata.
It is possible. As I have commented. You have to install the GitHub - apache/arrow-julia at bk/metadata branch of Tables.jl instead of released branch of this package and things will work.