This is another solution to rename the first column:
data.rename(columns={data.columns[0]:'newname'},inplace=True)