I'm trying to delete empty cells with pandas. I wanna delete only empty cells but I have no idea how to do that.
ex
A | B | C | D | E | F | G | H | I | J |
---|---|---|---|---|---|---|---|---|---|
1 | apple | price | 10 | quantity | 5 | ||||
2 | pineapple | price | 12 | condition | good | quantity | 4 |
what I want
A | B | C | D | E | F | G | H | I | J |
---|---|---|---|---|---|---|---|---|---|
1 | apple | price | 10 | quantity | 5 | ||||
2 | pineapple | price | 12 | condition | good | quantity | 4 |
I need all values without empty cells. So I don't want to delete whole row or column. I wanna delete empty cell and pull the values in the back.
Real Data EXCEL