how to calculate continueous increase count number for pandas Series?

前端 未结 0 478
名媛妹妹
名媛妹妹 2020-12-23 15:51

i want to calculate the future continueous increase or decrease count for each element.

Assume I have a Series:

l=[10, 9, 8, 9, 10, 9, 10, 11, 10, 12,          


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