Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to find uncommon records of two dataframes

df = df1.merge(df2, how = 'outer' ,indicator=True).loc[lambda x : x['_merge']=='left_only']

df
Source by kanoki.org #
 
PREVIOUS NEXT
Tagged: #find #uncommon #records #dataframes
ADD COMMENT
Topic
Name
7+9 =