✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Який результат отримаємо ?
left = pd.DataFrame({'key': ['A', 'B'], 'lval': [1, 2]})
right = pd.DataFrame({'key': ['A', 'B'], 'rval': [4, 5]})
pd.merge(left, right, on='key')