Python Pandas menggeser kolom terakhir ke tempat pertama

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