title: Pandas Create Date Column for Fiscar QTR/Year
body: <p>I am trying to create a new date column in my dataframe. The date column is formatted as such, ex. '2019-02-04'</p>
  
  <pre><code>def fiscal_date(row):
      if row['Date'] &gt;= '2018-02-01' and row['Date'] &lt; '2018-05-01':
          return 'FY19 Q1'
      if row['Date'] &gt;= '2018-05-01' and row['Date'] &lt; '2018-08-01':
          return 'FY19 Q2'
      if row['Date'] &gt;= '2018-08-01' and row['Date'] &lt; '2018-11-01':
          return 'FY19 Q3'
  </code></pre>
  
  <p>when I try to apply the function, data['Fiscal'] = data.apply(fiscal_date, axis=1)
  Getting this Error:
  TypeError: ("'>=' not supported between instances of 'Timestamp' and 'str'", 'occurred at index 0')</p>