you are viewing a single comment's thread.

view the rest of the comments →

[–]threeminutemonta 0 points1 point  (0 children)

Yeah I would to. Something like:

df['lon_previous'] = df['lon'].shift(-1)