i have a dataframe which is having date column. column has duplicate value.
i want another column which should show next heigher value of the date
Example :
co1 col2 col3
1 abc 1982-07-01
2 abc 1992-07-02
3 abc 1992-07-02
4 abc 1992-07-02
5 abc 2000-07-02
6 abc 2001-07-02
Expected result : next higher value
co1 col2 col3 col4
1 abc 1982-07-01 1992-07-02
2 abc 1992-07-02 2000-07-02
3 abc 1992-07-02 2000-07-02
4 abc 1992-07-02 2000-07-02
5 abc 2000-07-02 2001-07-02
6 abc 2001-07-02 Null
Please help me resolving this issue..