I am trying to remove duplicate values in pandas and replace those values with an empty value.
Originally, I had those A values on Header A (Column A) and I would like remove those A values and replace A with an empty string ""
| Header A | Header B |
|---|---|
| A | B |
| A | C |
| A | D |
| A | E |
| A | F |
To this:
| Header A | Header B |
|---|---|
| A | B |
| C | |
| D | |
| E | |
| F |
How do I do this in Pandas using Python? Those values are from csv file.