title: Filter and take out certain elements of a date
body: <p>There is a list of dates</p>
  
  <pre><code>['2020-03-24 09:00:00', '2020-03-24 12:00:00', '2020-03-24 15:00:00', '2020-03-24 18:00:00', '2020-03-24 21:00:00', '2020-03-25 00:00:00', '2020-03-25 03:00:00', '2020-03-25 06:00:00', '2020-03-25 09:00:00', '2020-03-25 12:00:00', '2020-03-25 15:00:00', '2020-03-25 18:00:00', '2020-03-25 21:00:00']
  </code></pre>
  
  <p>There are two things i want to do:</p>
  
  <ul>
  <li>I want to pull out all the dates related to today (and tommorow), like i want all the <code>2020-3-24</code>s filtered out of the rest of the dates.</li>
  </ul>
  
  <blockquote>
    <p>ValueError: x and y must have same first dimension, but have shapes
    (0,) and (40,)</p>
  </blockquote>
  
  <p>I keep getting the error of shapes, because they are mismatched, how should i fix this?</p>
  
  <pre><code>date_times = []
  for i in raw_date_times:
      date =  datetime.strptime(i, '%Y-%m-%d %H:%M:%S').date()
      if date == today:
          date_times.append(i)
  </code></pre>