Apply function to dataframe row which references previous row's data

后端 未结 0 709
逝去的感伤
逝去的感伤 2021-02-04 00:06

I\'m trying to set col \'b\' of my dataframe based on it\'s previous value from the row above. Is there any way to do this without iterating through the rows or using decorators

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