theOehrly / Fast-F1

FastF1 is a python package for accessing and analyzing Formula 1 results, schedules, timing data and telemetry
https://docs.fastf1.dev
MIT License
2.29k stars 239 forks source link

[BUG] Saudi Arabia GP race result missing position related values #547

Closed Casper-Guo closed 3 months ago

Casper-Guo commented 3 months ago

Describe the issue:

Maybe related to #545

The following columns are not populated in the session results for the 2024 Saudi Arabia GP:

Reproduce the code example:

import fastf1

session = fastf1.get_session(2024, 2, "R")
session.load(telemetry=False, weather=False, messages=False)
result = session.results
print(result.isna().sum())

Error message:

DriverNumber           0
BroadcastName          0
Abbreviation           0
DriverId               0
TeamName               0
TeamColor              0
TeamId                 0
FirstName              0
LastName               0
FullName               0
HeadshotUrl            0
CountryCode            0
Position              20
ClassifiedPosition     0
GridPosition          20
Q1                    20
Q2                    20
Q3                    20
Time                  20
Status                 0
Points                20
dtype: int64

count     20
unique     1
top         
freq      20
Name: ClassifiedPosition, dtype: object
Casper-Guo commented 3 months ago

@mdsakalu I haven't looked too deeply but do you think this might also be fixed by #546?

theOehrly commented 3 months ago

Yes, it's the same problem.

(Just noting that Q1, Q2, Q3 are expected to not be populated in a race session.)