How to select the subset of data from each category using for loop in Python?

后端 未结 0 630
野的像风
野的像风 2020-12-10 01:57

I have customer data (in CSV format) as:

index category  text
 0    spam      you win much money
 1    spam      you win 7000 car
 2    not_spam  the weather          


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