Q1, Q2, Q3 in Qualification data #230
Replies: 2 comments 1 reply
-
There is no "nice" way to do it currently. But Better support for this has been discussed but not yet been added. |
Beta Was this translation helpful? Give feedback.
-
Well, I've been tinkering a bit to get telemetry data and drop it into a MariaDB, and then get PowerBi to work with the data, and I found something that might be interesting to split the Q1/Q2/Q3 times. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Is there a way to see if a lap has been driven in Q1, Q2 and Q3?
#Script
import fastf1 as ff1
import fastf1.plotting
from fastf1.core import Laps
import numpy as np
import matplotlib as mpl
import pandas as pd
from matplotlib import pyplot as plt
from matplotlib.collections import LineCollection
grandprix = 13
year = 2022
#Qualification
session = ff1.get_session(year, grandprix, 'Q')
weekend = session.event
laps = session.load_laps()
df = pd.DataFrame(laps)
print (df)
DriverNumber
LapTime
LapNumber
Stint
PitOutTime
PitInTime
Sector1Time
Sector2Time
Sector3Time
Sector1SessionTime
Sector2SessionTime
Sector3SessionTime
SpeedI1
SpeedI2
SpeedFL
SpeedST
IsPersonalBest
Compound
TyreLife
FreshTyre
LapStartTime
Team
Driver
TrackStatus
IsAccurate
Beta Was this translation helpful? Give feedback.
All reactions