title: In python, I want to delete the last letter from the string value in the data and convert it to a number
body: <p><a href="https://i.stack.imgur.com/BgJyW.png" rel="nofollow noreferrer">Data</a></p>
  
  <blockquote>
    <p>I want to remove the + sign at the end of the Installs column in the image and convert it to a number.</p>
  </blockquote>
  
  <pre><code> import numpy as np
   import pandas as pd
   import os
   data = pd.read_csv("../input/googleplaystore.csv")
   data.info()
   data.head(10)
   if data.Installs.endswith("+"):
      data.Installs =data.Installs[:-1]
  </code></pre>