Replies: 1 comment
-
This should work? A bit of pandas indexer magic. There'll soon be a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'd appreciate any help as I've been stuck on this for a while...
I'm trying to make a program that extracts the flying laps of the top 6 drivers in Q3 of quali. It's stored in a list of Lap, and then I pass the list into the Laps constructor
i have the following code:
`q1, q2, q3 = quali.laps.split_qualifying_sessions()
top_drivers = quali.drivers[:6]
but the last line always returns an error, it says it cannot find the "LapTime" key to sort. This is strange because I made sure all the elements in hot_lap_list are of the type "Lap". And they would all have the "LapTime" attribute. One of the issue I faced was changing the return value of .pick_quicklaps(), which is "Laps" to "Lap", I think I did it correct though?
This is the error message
Thank you in advance for any help
Beta Was this translation helpful? Give feedback.
All reactions