merge inner join pandas code example
Example 1: merge on index pandas
pd.merge(df1, df2, left_index=True, right_index=True)
Example 2: how to join tables in python
display('df1', 'df2', "pd.merge(df1, df2, on='employee')")
pd.merge(df1, df2, left_index=True, right_index=True)
display('df1', 'df2', "pd.merge(df1, df2, on='employee')")