k real fixes. Don't use df.T syntax when T is a column in the dataframe