rang de colonne de pandas

# Basic syntax:
df['column'].rank()

# Note, I like to use method='dense' and ascending=False
Charles-Alexandre Roy