I have got pandas DataFrame as below:
| First Column | Second Column |
|---|---|
| Dog | Dog is good |
| Big Cat | Big cat is here |
| Fat rat | Fat rat is there |
| Pink tree | Pink tree means love |
I want to remove repeating word in second column based on first column. My desired output is:
| First Column | Second Column |
|---|---|
| Dog | is good |
| Big Cat | is here |
| Fat rat | is there |
| Pink tree | means love |
How can i achieve it?
I have looked around here, but could not find solution which would suite me.
Thanks!