Trying to create a scatter plot of the lap number a driver pits on versus qualifying position #452
-
Hi, I'm trying to create a scatter plot of a driver the lap number a driver pits versus their qualifying position. Here's the code I've so far. I know it's definitely wrong but I've really been trying to do this with ages and haven't make much progress. Any help is greatly appreciated. I have tried so many variations the code below may be completely wrong and I apologise of that. #Set up necessary imports #Set up cache for race data from fastf1 race = fastf1.get_session(year, race , 'R') sns.scatterplot(data=quali_pos, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I try to work with Pandas over Ergast where possible. Here is my implementation:
Not the most pretty but it shows the basic idea. |
Beta Was this translation helpful? Give feedback.
I try to work with Pandas over Ergast where possible. Here is my implementation: