pandas.DataFrame.quantile

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

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