title: Circular pairs from array?
body: <p>I can't believe this is nowhere to be found, but: I want all consecutive pairs from an array, including the last element with the first one. I tried:</p>
  
  <pre><code>[(a, b) for a, b in zip(list, list[1:])]
  </code></pre>
  
  <p>What is the most pythonic and efficient way to do it?</p>