title: filter dataframe using zipped list
body: <p>I have  a dataframe which includes two data frame columns with a min_peak and a max_peak value. 
  I am attempting to filter the index('Date') values which are timestamps between the two peaks.
  I would like to allocate a value of 0 for all dates that are greater than the min_peak but less than the max_peak and a value of 1 if false.</p>
  
  <pre><code>Date
  2019-02-02    0.3985
  2019-09-24    1.4612
  2019-12-18    1.5996
  2020-03-12    0.0001
  Name: min_peak, dtype: float64
  Date
  2019-07-03    3.4769
  2019-11-14    2.9666
  2020-03-05    4.6239
  2020-06-09    4.3605
  Name: max_peak, dtype: float64
  </code></pre>
  
  <p>I have a list of the zipped dates for the min_peak and max_peak columns but am not sure how to filter my dataframe using the values.</p>
  
  <pre><code>[(Timestamp('2019-02-02 00:00:00'), Timestamp('2019-07-03 00:00:00')), (Timestamp('2019-09-24 00:00:00'), Timestamp('2019-11-14 00:00:00')), (Timestamp('2019-12-18 00:00:00'), Timestamp('2020-03-05 00:00:00')), (Timestamp('2020-03-12 00:00:00'), Timestamp('2020-06-09 00:00:00'))]
  </code></pre>
  
  <p>As an example I would filter my dataframe based on the first two peaks <code>'2019-02-02 00:00:00'</code> and <code>2019-07-03 00:00:00</code> , for all index values greater than <code>2019-02-02 00:00:00</code> but less than '<code>2019-07-03 00:00:00</code> to equal 0. </p>
  
  <p>For all values after <code>'2019-07-03 00:00:00'</code> but less than <code>2019-09-24 00:00:00'</code> to equal 1.</p>
  
  <p>I have looked tried using the <code>loc</code> method and the <code>df.index.isin</code> but without success.</p>