Examples Draw a box plot from a DataFrame with five columns of randomly generated data:
import numpy as np import pandas as pd
data = np.random.randn(30, 5) df = pd.DataFrame(data, columns=list('PQRST')) ax = df.plot.box()