title: How to partition a Pandas Series based on value?
body: <p>I have a DF that looks like the following:  </p>
  
  <pre><code>&gt;&gt;&gt; df
          order_received
  0            1
  1            1
  2            0
  3            0
  4            1
  5            0
  6            0 
  </code></pre>
  
  <p>I'd like to split this into <code>(1), (1), (0, 0, 1), (0, 0)</code> i.e. split the Series every time there is a <code>1</code>. How do I do that?</p>