title: Convert object dtype column to float or int
body: <p>I'm trying to cluster some data, but when i`m trying to run k-means i get the error: float() argument must be a string or a number, not 'Point'</p>
  
  <p><a href="https://i.stack.imgur.com/IFP5A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IFP5A.png" alt="enter image description here"></a></p>
  
  <p>I think I need to change the dtype</p>
  
  <p>My pandas df gives me the following dtypes:</p>
  
  <pre><code>Trajectory ID                                  object
  Ordinal of the point within the trajectory    float64
  Timestamp                                      object
  Latitude                                      float64
  Longitude                                     float64
  dtype: object
  </code></pre>
  
  <p>I need to convert objects to float or to int the to put into k-means clustering algorithm</p>