I have two dataframes of different size (df1 nad df2). I would like to remove from df1 all the rows which are stored within df2<
df1
df2
df2<
The cleanest way I found was to use drop from pandas using the index of the dataframe you want to drop:
df1.drop(df2.index, axis=0,inplace=True)