Python pandas przesuń ostatnią kolumnę na pierwsze miejsce

cols = list(df.columns)
cols = [cols[-1]] + cols[:-1]
df = df[cols]
Kwams