How to get first column name of pandas DataFrame

df.columns[0]

will return the name of the first column as str.