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: 
Convert relevant columns to `frozenset`:

```
out = df[~df[['columnA', 'ColumnB']].apply(frozenset, axis=1).duplicated()]
print(out)

# Output
   columnA  ColumnB  ColumnC
0       12        8     1.34
2        1        7     0.25

```

Details:

```
>>> set([8, 12])
{8, 12}

>>> set([12, 8])
{8, 12}

```
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)