inner join by two columns code example
Example: python inner join based on two columns
df = pd.merge(left=df1, right=df2, on=['var_1', 'var_2'], how='inner']
df = pd.merge(left=df1, right=df2, on=['var_1', 'var_2'], how='inner']