title: Python date series generation
body: <p>In python, given a start date:Nov 2 ,2018 (Friday),
  I need to generate a dataframe with a series of weekly dates and tag them as below:
  Basically each date pair goes from one friday to next thursday and spans 1 week</p>
  
  <pre><code>START_DT    END_DT        WEEK_IND  MONTH_IND(same month as END_DT)
  2018-11-01  2018-11-08     1         201811
  2018-11-09  2018-11-15     2         201811
  2018-11-16  2018-11-22     3         201811
  2018-11-23  2018-11-29     4         201811
  2018-11-30  2018-12-06     1         201812( WEEK_IND resets as it is a new month)
  ...
  ...
  </code></pre>
  
  <p>Can someone point me in the right direction?</p>