df
Change the row labels.
df.set_axis([10,20,30])
Change the column labels.
df.set_axis(['a','b','c'])