My current df looks like that
| Region | Descript | Material | Input |
|---|---|---|---|
| UK | Bottle | #1 | 500 |
| UK | Cap | #5 | 20 |
| India | Bottle | #1 | 400 |
| India | Cap | #5 | 2 |
would like to have a df2 to be like:
| Region | Descript | Material | Input |
|---|---|---|---|
| UK | Bottle | #1 | 500 |
| UK | Cap | #5 | 20 |
| UK | other | #7 | NA |
| India | Bottle | #1 | 400 |
| India | Cap | #5 | 2 |
| India | other | #7 | NA |
I am new to python. Maybe there is a simple solution or an already similar case but i couldn't find anything