Question: Sonarcloud is reporting a bug in my Vue 3 application due to the Tailwind settings, however it is as in the documentation.

![img sonarcloud](https://i.stack.imgur.com/D5oLR.png)

What is the best alternative in this case?

Answer: 
You can combine `a` and `b` into a tuple and call `drop_duplicates` based on the combined columne:

```py
t = df[["a", "b"]].apply(lambda row: tuple(set(row)), axis=1)
df.assign(t=t).drop_duplicates("t").drop(columns="t")

```
Possible solution is the following:

```
# pip install pandas

import pandas as pd

# create test dataframe
df = pd.DataFrame({"colA": [12,8,1],"colB": [8,12,1],"colC": [1.34,1.34,0.25]})
df

```

[![enter image description here](https://i.stack.imgur.com/Q1DGg.png)](https://i.stack.imgur.com/Q1DGg.png)

```
df.loc[df.colA > df.colB, df.columns] = df.loc[df.colA > df.colB, df.columns[[1,0,2]]].values
df.drop_duplicates()

```

Returns

[![enter image description here](https://i.stack.imgur.com/Kvenv.png)](https://i.stack.imgur.com/Kvenv.png)