>>> df['date'][df.index[0]] 10 >>> df['date'][df.index[-1]] 58
cols = list(df.columns) cols = [cols[-1]] + cols[:-1] df = df[cols]
cols = [df.columns[-1]] + [col for col in df if col != df.columns[-1]] df = df[cols]