title: Histogram values from Pandas DataFrame
body: <p>I would like to get histogram values from a <code>DataFrame</code>:</p>
  
  <pre><code>%matplotlib inline
  import pandas as pd
  import numpy as np
  
  df=pd.DataFrame(60*np.random.sample((100, 4)), pd.date_range('1/1/2014',periods=100,freq='D'), ['A','B','C','D'])
  </code></pre>
  
  <p>Taking into account <code>pd.cut()</code> it is possible to do it with only one column, as in <a href="https://stackoverflow.com/a/16949498/2669472">example</a>:    </p>
  
  <pre><code>bins=np.linspace(0,60,5)
  df.groupby(pd.cut(df.A,bins)).count()
  </code></pre>
  
  <p>Is it possible to get whole histogram values for all columns in one <code>DataFrame</code>?
  The desired output would look like this:</p>
  
  <pre><code>            A   B   C   D       
  (0, 15]     21  10  1   2
  (15, 30]    14  24  21  24
  (30, 45]    10  0   22  30
  (45, 60]    25  5   25  25
  </code></pre>