title: Equivalent to F#’s Seq.scan() method in Python?
body: <p>Is there a function like a F#'s <code>Seq.scan()</code> in Python?</p>
  
  <p>I want to do some <code>cumsum()</code> or <code>cumproduct()</code> kind of things without looping.</p>