tracinginsights commited on
Commit
f5980e9
·
1 Parent(s): 4cc9fb2

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -2
main.py CHANGED
@@ -93,8 +93,7 @@ async def get_data(year: int, race: int, session: str) -> any:
93
  laps['Sector2Time'] = laps['Sector2Time'].dt.total_seconds()
94
  laps['Sector3Time'] = laps['Sector3Time'].dt.total_seconds()
95
  laps['LapTime_in_seconds'] = laps['LapTime'].dt.total_seconds()
96
- laps['laptime_sum_sectortimes'] = laps.Sector1Time + \
97
- laps.Sector2Time + laps.Sector3Time
98
 
99
  # # convert laps to csv
100
  # laps.to_csv('laps.csv', index=False)
 
93
  laps['Sector2Time'] = laps['Sector2Time'].dt.total_seconds()
94
  laps['Sector3Time'] = laps['Sector3Time'].dt.total_seconds()
95
  laps['LapTime_in_seconds'] = laps['LapTime'].dt.total_seconds()
96
+ laps['laptime_sum_sectortimes'] = laps.Sector1Time + laps.Sector2Time + laps.Sector3Time
 
97
 
98
  # # convert laps to csv
99
  # laps.to_csv('laps.csv', index=False)