Creating a new column with a iterating sentence count whenever two simultaneous row values are null (indicating a new sentence is found)

前端 未结 0 819
终归单人心
终归单人心 2021-02-05 07:46

I have a dataframe with words and entities and would like to create a third column which keeps a sentence count for every new sentence found as shown in the link example of desi

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