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