In Python 3.7 , I need some help with the syntax of updating data frame with value from another data frame:
I have a trade and it has 2 rows - one for the start and one for the end
I would like to update the start time in end row.
for example - df_start (start trades) and df_end (end trades) - the column position_id is identical between the tow (this column is the key for the 2 data frames)
I need the column time in df_end to change like that : df_end['time'] = df_start['time']
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi there
In Python 3.7 , I need some help with the syntax of updating data frame with value from another data frame:
I have a trade and it has 2 rows - one for the start and one for the end
I would like to update the start time in end row.
for example - df_start (start trades) and df_end (end trades) - the column position_id is identical between the tow (this column is the key for the 2 data frames)
I need the column time in df_end to change like that : df_end['time'] = df_start['time']
Thanks for the help :)