create dataframe with column names from another dataframe