title: creating a pandas dataframe from a list of image files
body: <p>I am trying to create a pandas dataframe from a list of image files (.png files)</p>
  
  <pre><code>samples = []
  img = misc.imread('a.png')
  X = img.reshape(-1, 3)
  samples.append(X)
  </code></pre>
  
  <p>I added multiple .png files in samples like this. I am then trying to create a pandas dataframe from this.</p>
  
  <pre><code>df = pd.DataFrame(samples)
  </code></pre>
  
  <p>It is throwing error "ValueError: Must pass 2-d input". What is wrong here? Is it really possible to convert a list of image files to pandas dataframe. I am totally new to panda, so do not mind if this looks silly.<br>
  For ex.<br>
  <code>X = [[1,2,3,4],[2,3,4,5]]                                                                 df = pd.DataFrame(X)</code><br>
  gives me a nice dataframe of samples 2 as expected (row 2 column 4), but it is not happening with image files.  </p>