title: How do I convert a numpy array into a pandas dataframe?
body: <p>I would like to have the 3 columns of a numpy array</p>
  
  <pre><code>px[:,:,0]
  px[:,:,1]
  px[:,:,0]
  </code></pre>
  
  <p>into a pandas Dataframe.</p>
  
  <p>Should I use?</p>
  
  <pre><code>df = pd.DataFrame(px, columns=['R', 'G', 'B'])
  </code></pre>
  
  <p>Thank you</p>
  
  <p>Hugo</p>