move one column value down by one column in pandas

39

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

Comments

Submit
0 Comments