remove String row in pandas data frame when number of words is less than N

后端 未结 0 1928
眼角桃花
眼角桃花 2020-12-06 19:23

I am pre-processing dataset for NLP classification task, i want to drop the sentences with less than 3 words, the code i tried drop the words with less than 3 letters:

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