Question: Python data frame pandas removing 0 I have a data frame with a header location in the location i have multiple types and I need
Python data frame pandas removing 0
I have a data frame with a header location in the location i have multiple types and I need to remove the zero from the 5 so the became just 5 without 0.
| id | location |
| 0 | A |
| 1 | B |
| 2 | 4 |
| 3 | 5 |
| 4 | 5 |
| 5 | 5.0 |
| 6 | 5.0 |
| 7 | B |
| 8 | A |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
