I have two pandas data frame as below,
Left_Frame
symbol price timelab1 timelab2 timelab3 _merge
0 145822 10.5018 19:00 left_only
1 145819 10.5055 19:00 left_only
Right_Frame
symbol price timelab1 timelab2 timelab3 _merge
16 145822 10.58 NaN NaN NaN right_only
17 145819 10.55 NaN NaN NaN right_only
I want to update Left_Frame
price with Right_Frame
price where symbol
are equal to the both data frames.
Expected result is,
Left_Frame
symbol price timelab1 timelab2 timelab3 _merge
0 145822 10.58 19:00 left_only
1 145819 10.55 19:00 left_only
How can I do this in Pandas?