I have these two data frames df1 - have 5 rows
|id|name|age|weight|
|1 |aaaa|16 | 56 |
|2 |bbbb|17 | 60 |
|3 |cccc|18 | 56 |
|4 |dddd|16 | 61 |
|5 |ffff|20 | 75 |
df2 - also have 5 rows with same id but not sorted
|id|rate|
|5 |0.75|
|1 |0.80|
|3 |0.92|
|4 |0.86|
|2 |0.77|
now I need to merge them to be like this df3
|id|name|age|weight|rate|
|1 |aaaa|16 | 56 |0.80|
|2 |bbbb|17 | 60 |0.77|
|3 |cccc|18 | 56 |0.92|
|4 |dddd|16 | 61 |0.86|
|5 |ffff|20 | 75 |0.75|
thanks in advance