outer join pandas merge code example
Example 1: pandas left join
df.merge(df2, left_on = "doc_id", right_on = "doc_num", how = "left")
Example 2: how to join tables in python
display('df1', 'df2', "pd.merge(df1, df2, on='employee')")
df.merge(df2, left_on = "doc_id", right_on = "doc_num", how = "left")
display('df1', 'df2', "pd.merge(df1, df2, on='employee')")