How to randomly sample 50% of items per category in Pandas

后端 未结 0 501
粉色の甜心
粉色の甜心 2021-02-19 07:08

I have a Python pandas dataframe that looks like this:

Company Industry.   Review
google    tech      google is an excellent place to work
google    tech      upp         


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