is there pyspark dataframe codes for lead lag to column?

lead/lag column is something

1      lag   -1        lead     2
2                1                    3
3                2                    4
4                3                    5
5                4                   -1

Reply via email to