title: Adding columns pandas series, based on conditional time series
body: <p>I have pulled some data from the internet which is basically 2 columns of hourly data for a whole year:</p>
  
  <pre><code>france.GetData(base_scenario, utils.enumerate_periods(start,end,'H','CET'))
  </code></pre>
  
  <p>output </p>
  
  <pre><code>2015-12-31 23:00:00+00:00    23.86
  2016-01-01 00:00:00+00:00    22.39
  2016-01-01 01:00:00+00:00    20.59
  2016-01-01 02:00:00+00:00    16.81
  2016-01-01 03:00:00+00:00    17.41
  2016-01-01 04:00:00+00:00    17.02
  2016-01-01 05:00:00+00:00    15.86...
  </code></pre>
  
  <p>I want to add two more columns basically 'peak' hour and an 'off peak' hour scaler columns. So if the times of the day are between 0800 and 1800 there will be a 1 in the peak column and if outside these hours there will be a 1 in the off peak column. </p>
  
  <p>Could anyone please explain how to do this.</p>
  
  <p>Many thanks</p>