Issue in pulling lap time data and inserting it into excel sheet. #442
-
Hi, I'm trying to pull lap time data for all 20 drivers for all laps and place it into an excel sheet. I have it almost working but am encountering an error when indexing the lap time data. Any suggestions on how to fix this would be greatly appreciated. import fastf1 #Setup fastf1.Cache.enable_cache('/Users/FYP/FastF1') r1=fastf1.get_session(2023, 1,'r') k=1
file_object.save("BAHRAIN_RaceData.xlsx") |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I'm having the same issue and I have opened the issue #443 |
Beta Was this translation helpful? Give feedback.
-
@laurence9899 has this problem resolved itself? |
Beta Was this translation helpful? Give feedback.
Laps
objects inherits frompd.Dataframe
so you should be able to useto_excel
on them