I am trying to rename a column by position in a pandas dataframe.
I tried:
df.rename(columns={ df.columns[0]: "Line Items" }, inplace=True) #