title: np.load() in a for loop
body: <p>I have a set of arrays saved as .npy files and here I am trying to read them all in an add them to a list to concatenate. Problem is, when I try and do it inside a for loop I get "cannot reshape array of size 0 into shape (585,1386)" but when I load them one by one they read in just fine... What gives?</p>
  
  <p>'''</p>
  
  <pre><code>import numpy as np
  import os
  
  arr_list = []
  
  for file in os.listdir('/Users/sjakober/Documents/ResearchSpring2020/geotiffs/'):
      if file.endswith(".npy"):
          arr = np.load(file)
          arr_list.append(arr)
  </code></pre>
  
  <p>'''</p>