keep rows in data frame that, for all combinations of the values of certain columns, contain the same elements in another column

后端 未结 0 1699
走了就别回头了
走了就别回头了 2021-01-14 01:28
df = pd.DataFrame({\'a\':[\'x\',\'x\',\'x\',\'x\',\'x\',\'y\',\'y\',\'y\',\'y\',\'y\'],\'b\':[\'z\',\'z\',\'z\',\'w\',\'w\',\'z\',\'z\',\'w\',\'w\',\'w\'],\'c\':[\'c         


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