pandas df combine 2 dataframes code example Example: join tables pandas In [99]: result = left.join(right, on=['key1', 'key2'], how='inner')