title: Cannot Convert the series to <class 'int'>?
body: <p>I'm trying to change my dataset into an int, but this error keeps popping up:</p>
  
  <pre><code>File "/anaconda3/lib/python3.6/site-packages/pandas/core/series.py", line 93, in wrapper
    "{0}".format(str(converter)))
  
  TypeError: cannot convert the series to &lt;class 'int'&gt;
  </code></pre>
  
  <p>right now I have</p>
  
  <pre><code>dat = pd.read_csv('data.csv',names = ['date','x','y']
  date = dat['date']
  x = dat['x']
  y = dat['y']
  difdat = date[3]- date[2]
  print (difdat)
  </code></pre>
  
  <p>What am I doing wrong?</p>