Ich habe einen Datensatz, für den ich den Rang pro Zeile berechnen möchte. Dies ist ein Beispiel für ein Panda-Spielzeug.
import pandas as pd
df = pd.DataFrame({"ID":[1,2,3,4], "a":[2,7,9,10],
"b":[6,7,4,2], "c":[3,4,8,5]})
print(df)
# ID a b c
# 0 1 2 6 3
# 1...