eliminate the rows when difference between two consecutive rows are less than n

后端 未结 0 1004
逝去的感伤
逝去的感伤 2021-02-06 01:13

I have a data frame like this,

df
col1    col2
1       3
2       4
3       5
4       6
5       7
7       10
8       20
11      12
12      23
13      24
16      25         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题