1st table is my input table present in 1 data frame and 2nd table is my result table. can some one please help how to solve this using python [1]: https://i.stack.imgur.com/