title: Python - Split array into multiple arrays
body: <p>I have a array contains file names like below:</p>
  
  <pre><code>['001_1.png', '001_2.png', '001_3.png', '002_1.png','002_2.png', '003_1.png', '003_2.png', '003_3.png', '003_4.png', ....]
  </code></pre>
  
  <p>I want to quickly group these files into multiple arrays like this:</p>
  
  <pre><code>[['001_1.png', '001_2.png', '001_3.png'], ['002_1.png', '002_2.png'], ['003_1.png', '003_2.png', '003_3.png', '003_4.png'], ...]
  </code></pre>
  
  <p>Could anyone tell me how to do it in few lines in python?</p>