Issue accessing data using fastf1 api #505
-
Hi I'm trying to use the fastf1 api to pull data for a whole season. I created the below code with a data frame of the parameters needed for a the fastf1.api.make_path function. I am using a for loop to move through the entire data frame. However I keep having an issue with the code in which I get the below error. Anyone any ideas what I am doing wrong? _Bahrain Grand Prix
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Is there a reason why you are not using From the docs:
|
Beta Was this translation helpful? Give feedback.
-
No, no reason why not. I am a newcomer to fastf1, apologies for that. I have changed it to that now and it's working. Thank you very much. |
Beta Was this translation helpful? Give feedback.
Is there a reason why you are not using
get_session()
instead? It also saves you the trouble of hard coding the race names and start dates.From the docs: