Examples
Following example draws a histogram based on the length and width of some box,
displayed in three bins:

In [3]:
import numpy as np
import pandas as pd
In [4]:
df = pd.DataFrame({
    'length': [4.0, 4.5, 2.2, 3.9, 5],
    'width': [2.7, 5.2, 0.15, 2.3, 2.2]
   }, index= ['box1', 'box2', 'box3', 'box4', 'box4'])
hist = df.hist(bins=3)