I have huge data and I want merge it on a specific column where values from df1 is not available in df2 and vice versa.
Example:
df1:
Domain Sales
google.com 100
facebook.com 200
youtube.com 300
df2:
Domain Sales
google.com 100
yahoo.com 200
youtube.com 300
Required output:
Domain Sales
facebook.com 200
yahoo.com 200
I have tried:
df = pd.merge(df1, df2, on="Domain", how="outer")
and all the other values for the how
parameter, but it does not give me the required output. How can I achieve the required output?