Skip to content

[BUG] Telemetry error for Kimi Raikonnen in 2019 British GP Practice 1 #804

@borolepratik

Description

@borolepratik

Describe the issue:

Telemetry error for Kimi Raikonnen in 2019 British GP Practice 1. Telemetry for other drivers in that session is available. Kimi completed 12 laps and then crashed. https://www.formula1.com/en/results/2019/races/1009/greatbritain%20/practice/1.

FastF1 v3.6.1

Reproduce the code example:

import fastf1

# Parameters
year = 2019
grand_prix = 10
session = 1

# Load session data
session = fastf1.get_session(year, grand_prix, session)
session.load()

session.laps.pick_drivers(7).telemetry

Error message:

   2951 car_data = self.get_car_data(pad=1, pad_side='both')
   2953 # calculate driver ahead from data without padding to
...
   1684 len_axis = len(self.obj._get_axis(axis))
   1685 if key >= len_axis or key < -len_axis:
-> 1686     raise IndexError("single positional indexer is out-of-bounds")

IndexError: single positional indexer is out-of-bounds

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions