pandas.DataFrame.rank — pandas 0.16.2 documentation (original) (raw)

axis : {0 or ‘index’, 1 or ‘columns’}, default 0

Ranks over columns (0) or rows (1)

numeric_only : boolean, default None

Include only float, int, boolean data

method : {‘average’, ‘min’, ‘max’, ‘first’, ‘dense’}

na_option : {‘keep’, ‘top’, ‘bottom’}

ascending : boolean, default True

False for ranks by high (1) to low (N)

pct : boolean, default False

Computes percentage rank of data