Peringkat kolom panda

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

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