I\'ve two pandas data frames which have some rows in common.
Suppose dataframe2 is a subset of dataframe1.
How can I get the rows of dataframe1 which
a bit late, but it might be worth checking the "indicator" parameter of pd.merge.
See this other question for an example: Compare PandaS DataFrames and return rows that are missing from the first one