Hi i'm trying to pivot a df. I would like to convert column values to row headers. Thanks in advance.
How can I change this:
name 0 countryCode 1 vatNumber 2 requestDate 3 valid 4 name 5 address to this in python?
name countryCode vatNumber requestDate valid name address 0
df.T? what isprint(df.columns)print(df.columns)