Objective: to fill in one dataframe with another using transpose
df = pd.DataFrame({\'Attributes\': [\'love\', \'family\',\'tech\']}) df.T
I think you just need to change the column name in df1
df.columns=data.columns df Out[741]: Attribute_01 Attribute_02 Attribute_03 Attributes love family tech