tracinginsights commited on
Commit
ef887b5
1 Parent(s): b0f8e2a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -178,7 +178,7 @@ def driver_standings() -> any:
178
  )
179
  df = df[["Driver", "PTS", "Car"]]
180
  # reverse the order
181
- df = df.sort_values(by="PTS", ascending=False)
182
 
183
  # in Driver column only keep the last 3 characters
184
  df["Driver"] = df["Driver"].str[:-5]
 
178
  )
179
  df = df[["Driver", "PTS", "Car"]]
180
  # reverse the order
181
+ df = df.sort_values(by="PTS", ascending=True)
182
 
183
  # in Driver column only keep the last 3 characters
184
  df["Driver"] = df["Driver"].str[:-5]