I want to remove data that exists in both dataframes

When you want to remove data that exists in both dataframes, you can perform an “anti join” as the type of join.

For details, please refer to the “Anti Join” section in the following notes.