I have 2 dataframe : code_ifc
and demo_df
I would like to create demo_ER_df
that contains all rows from
demo_df that does not contain all rows from `code_ifc` dataframe .
I try with this code , but i found that it does not delete rows from code_ifc
.
Any idea please ? thanks
# NB: DSS supports several kinds of APIs for reading and writing data. Please see doc.
demo_ER_df =demo_df[(~demo_df['EXTERNAL_PARTNER_CODE'].isin(ifc_df['code_ifc']))]