I am trying to find not common data from 2 data frame.

**df1**

```
df1 = pd.DataFrame({
    'contact_id': [1,2,3,4]
})

   contact_id
0           1
1           2
2           3
3           4

```

**df2**

```
df2 = pd.DataFrame({
    'contact_id': [1,3,4,5]
})

   contact_id
0           1
1           3
2           4
3           5

```

**Expected output**

```
   contact_id
0           2
1           5

```

I have tried to use below code but getting incorrect

```
df = df2[~df2.contact_id.isin(df1.contact_id)]

```

Can anyone help me how can I get expected output