title: Manipulating csv data file using python
body: <p>I want to work with data of NBA. That is why I have to make comparison. I need to get home win percentage. However it cannot convert string to int.</p>
  
  <pre><code>results["HomeWin"]=int(results["Home Team"])&lt;int(results["OT?"])
  y_true=results["HomeWin"].values
  print("Home win percentage is{0:.1f}%".format(100*results["HomeWin"].sum()/results["HomeWin"].count())) 
  </code></pre>
  
  <p>error is:cannot convert the series to type 'int'</p>