Hello,
Often times in what I code, I need to populate an empty dataframe based on some pre-existing dataframe which is called inside a function. For example,
function populate_meta_data(data::R) where {R<:DataFrame}
    data_1 = manipulate(data) #do something with data to return some new dataframe
    meta_data = DataFrame()   #start populating empty dataframe meta_data column-wise 
    meta_data[!, :a_new] = data_1[!, :a]
    meta_data[!, :b_new] = data_1[!, :b]
 return meta_data
end
What is the most performant way to do such operations?