0

how to map the values from df1 and fill to df2

DF1                        DF2
Box   Values              box1  value_1  box2 value_2             
a      10                  a              b
b      20                  d              c
c      30                  e              f
d      40
e      50
f      60

output should be

box1  value_1  box2 value_2
a      10      b      20
d      40      c      30
e      50      f      60

and match the value_1 and value_2 value_1==value_2 false or True

mozway
  • 81,317
  • 8
  • 19
  • 49
Rati Goyal
  • 59
  • 5

0 Answers0