I have a list of dataframes. The list might contain 3 or more dataframes. Number of rows in each dataframe can differ from one another. The dataframes look the following.
I have to loop through the list and create a single dataframe out of these based on the following conditions.
- If both Line and Point of two dataframes match, create a new Res column having the value of Res of the second dataframe; value of Res of second dataframe being inserted in the same row.
- If both Line and Point of two dataframes do not match, insert a new row, with the value of Res of second dataframe in the new Res column.
For the above mentioned sample dataframes, the resultant dataframe should look like the following:
I have tried merging etc but I am not able to do this in Pandas. Please help me to solve this. Thanks.

