I am referring to this article:
https://kanoki.org/2019/07/04/pandas-difference-between-two-dataframes/
I don't understand this particular syntax for loc, where a lambda is doing the row filtering?
df = df1.merge(df2, how = 'outer' ,indicator=True).loc[lambda x : x['_merge']=='left_only']
What is this lambda doing, I know the end result - just trying to understand the use of lambdas in "loc" syntax.