Dataframe drop rows where multiple columns have the same value
Dataframe drop rows where multiple columns have the same value Question: My dataframe has the columns A, B, C, label1, label2, label3. I just want to drop the rows where label1 = label2 = label3. The label value can be 0, 1, 2, 3 and nan The best solution I’ve found so far is this …