pandas 0.9.1 documentation

pandas.DataFrame.quantile

DataFrame.quantile(q=0.5, axis=0)

Return values at the given quantile over requested axis, a la scoreatpercentile in scipy.stats

Parameters :

q : quantile, default 0.5 (50% quantile)

0 <= q <= 1

axis : {0, 1}

0 for row-wise, 1 for column-wise

Returns :

quantiles : Series