How to filter duplicates with swapping column names in pandas

前端 未结 0 1979
梦如初夏
梦如初夏 2020-12-10 17:57

I have a pd.Dataframe that looks like this:

   a_p1  a_x1  a_x2  b_p1  b_x1  b_x2
1   0.0   0.0   0.0   1.0  -1.0   0.0
2   1.0  -1.0   0.0   0.0   0.0   0.0
         


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