move one column value down by one column in pandas

31

df['gdp'] = df['gdp'].shift(-1)

Comments

Submit
0 Comments