1

The data like below:

index  Column A    Column B       Column C   
  0       a           1             NaN  
  1       b           1             12
  2       a           1             11
  3       c           2              5
  4       d           3              7
  5       b           2             NaN

I want to fill the Column C missing data by the same key in Column A and Column B, the output I want is:

index  Column A    Column B       Column C   
  0       a           1             11  
  1       b           1             12
  2       a           1             11
  3       c           2              5
  4       d           3              7
  5       b           2             NaN

How I can get this result? Thanks

Khalil Al Hooti
  • 4,207
  • 5
  • 23
  • 40
Starry
  • 81
  • 6

0 Answers0