tracinginsights commited on
Commit
b0f8e2a
·
1 Parent(s): 3c8865f

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -181,7 +181,7 @@ def driver_standings() -> any:
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[:-3]
185
 
186
  # add colors to the dataframe
187
  car_colors = available_data.team_colors(YEAR)
 
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]
185
 
186
  # add colors to the dataframe
187
  car_colors = available_data.team_colors(YEAR)