title: Consecutive, Overlapping Subsets of Array (NumPy, Python)
body: <p>I have a <a href="http://en.wikipedia.org/wiki/NumPy" rel="noreferrer">NumPy</a> array <code>[1,2,3,4,5,6,7,8,9,10,11,12,13,14]</code> and want to have an array structured like <code>[[1,2,3,4], [2,3,4,5], [3,4,5,6], ..., [11,12,13,14]]</code>.</p>
  
  <p>Sure this is possible by looping over the large array and adding arrays of length four to the new array, but I'm curious if there is some secret 'magic' Python method doing just this :)</p>