I faced with an issue to merge two DF into one and save all duplicate rows by id value from the second DF. Example:
id
df1 = pd.DataFrame({ \'id\':
If need unique id with remove values from df1 if exist also in df2 use:
df1
df2
df = pd.concat([df1, df2]).drop_duplicates('id', keep='last')