title: Convert the 'datetime.date' to a datetime with 'pd.Timestamp'
body: <p>Getting future warning in pandas when comparing python datetime with dates in pandas.
  Not sure how to do this conversion.</p>
  
  <pre><code>        date1 = datetime.date(year, month, 1)
          date2 = datetime.date(year, month, days)
          dd = df.loc[df['Date'].between(date1, date2), ['Col1','Col2', 'Col3','Col4','Col5']]
          r = rowpos[month]
  </code></pre>
  
  <blockquote>
  <pre><code>/home/user/.local/lib/python3.6/site-packages/pandas/core/series.py:3658:
  </code></pre>
    
    <p>FutureWarning: Comparing Series of datetimes with 'datetime.date'. 
    Currently, the 'datetime.date' is coerced to a datetime. In the future
    pandas will not coerce, and a TypeError will be raised. To retain the
    current behavior, convert the 'datetime.date' to a datetime with
    'pd.Timestamp'.   lmask = self >= left</p>
  </blockquote>