title: pandas cut multiple columns
body: <p>I am looking to apply a bin across a number of columns.</p>
  
  <pre><code>a = [1, 2, 9, 1, 5, 3]
  b = [9, 8, 7, 8, 9, 1]
  
  c = [a, b]
  
  print(pd.cut(c, 3, labels=False))
  </code></pre>
  
  <p>which works great and creates:</p>
  
  <pre><code>[[0 0 2 0 1 0]
  [2 2 2 2 2 0]]
  </code></pre>
  
  <p>However, i would like to apply the 'cut' to create a dataframe with number and bin it as below. </p>
  
  <pre><code>   Values  bin
  0       1    0
  1       2    0
  2       9    2
  3       1    0
  4       5    1
  5       3    0
  
  
     Values  bin
  0       9    2
  1       8    2
  2       7    2
  3       8    2
  4       9    2
  5       1    0 
  </code></pre>
  
  <p>This is a simple example of what im looking to do. In reality i 63 separate dataframes and a &amp; b are examples of a column from each dataframe. </p>