✅✅beats 100%
\n\n\n# Code\n\nimport pandas as pd\n\ndef combine_two_tables(person: pd.DataFrame, address: pd.DataFrame) -> pd.DataFrame:\n    df = pd.merge(left=person,right
![Screenshot 2024-06-06 120309.png](https://assets.leetcode.com/users/images/118b7e90-3ef1-44d7-8b7e-f02f3fff47c9_1717655631.110425.png)\n\n\n# Code\n```\nimport pandas as pd\n\ndef combine_two_tables(person: pd.DataFrame, address: pd.DataFrame) -> pd.DataFrame:\n    df = pd.merge(left=person,right=address,how=\'left\',on=\'personId\')[[\'firstName\', \'lastName\', \'city\', \'state\']]\n    return df\n```
['Pandas']