Setup
df
Attributes
0 love
1 family
2 tech
Option 1
rename
df.T.rename(dict(enumerate(data.columns)), axis=1)
Attribute_01 Attribute_02 Attribute_03
Attributes love family tech
Option 2
set_index
df.set_index(data.columns).T
Attribute_01 Attribute_02 Attribute_03
Attributes love family tech