pandas joinfn datasets based on index code example
Example 1: join tables pandas
In [99]: result = left.join(right, on=['key1', 'key2'], how='inner')
Example 2: join tables pandas
In [88]: result = left.join(right, how='inner')
In [99]: result = left.join(right, on=['key1', 'key2'], how='inner')
In [88]: result = left.join(right, how='inner')