title: Numpy Zero Padding to match a certain shape
body: <p>I have a file with arrays or different shapes. I want to zeropad all the array to match the largest shape. The largest shape is (93,13).</p>
  
  <p>To test this I have the following code:</p>
  
  <pre><code>testarray = np.ones((41,13))
  </code></pre>
  
  <p>how can I zero pad this array to match the shape of (93,13)? And ultimately, how can I do it for thousands of rows?</p>
  
  <p>Edit: The solution was found in the comments:</p>
  
  <pre><code>for index, array in enumerate(mfcc):
      testarray = np.zeros((93,13))
      for index,row in enumerate(array):
          for i in range(0,len(row)-1):
              testarray[index][i]= row[i]
              mfcc[index] = testarray
  </code></pre>