title: Python: Convert timedelta to int in a dataframe
body: <p>I would like to create a column in a pandas data frame that is an integer representation of the number of days in a timedelta column.  Is it possible to use 'datetime.days' or do I need to do something more manual?</p>
  
  <p><strong>timedelta column</strong>                </p>
  
  <blockquote>
    <p>7 days, 23:29:00</p>
  </blockquote>
  
  <p><strong>day integer column</strong></p>
  
  <blockquote>
    <p>7</p>
  </blockquote>