'How to turn a variable type object to a type float?
I have a dataframe called data and I want to change the type of variable of two of them (durationsecond and latitude). I have them on object (but are written with numbers), and I want to have them on float. The problem may be in the Nan entries, so this ones could be deleted with try/except. But I don't know how to do it Can somebody help me?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
