File size: 3,844 Bytes
19634cc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63f2fc5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
---
dataset_info:
  features:
  - name: Time
    dtype: duration[ns]
  - name: Driver
    dtype: string
  - name: DriverNumber
    dtype: string
  - name: LapTime
    dtype: duration[ns]
  - name: LapNumber
    dtype: float64
  - name: Stint
    dtype: float64
  - name: PitOutTime
    dtype: duration[ns]
  - name: PitInTime
    dtype: duration[ns]
  - name: Sector1Time
    dtype: duration[ns]
  - name: Sector2Time
    dtype: duration[ns]
  - name: Sector3Time
    dtype: duration[ns]
  - name: Sector1SessionTime
    dtype: duration[ns]
  - name: Sector2SessionTime
    dtype: duration[ns]
  - name: Sector3SessionTime
    dtype: duration[ns]
  - name: SpeedI1
    dtype: float64
  - name: SpeedI2
    dtype: float64
  - name: SpeedFL
    dtype: float64
  - name: SpeedST
    dtype: float64
  - name: IsPersonalBest
    dtype: bool
  - name: Compound
    dtype: string
  - name: TyreLife
    dtype: float64
  - name: FreshTyre
    dtype: bool
  - name: Team
    dtype: string
  - name: LapStartTime
    dtype: duration[ns]
  - name: LapStartDate
    dtype: timestamp[ns]
  - name: TrackStatus
    dtype: string
  - name: Position
    dtype: float64
  - name: Deleted
    dtype: bool
  - name: DeletedReason
    dtype: string
  - name: FastF1Generated
    dtype: bool
  - name: IsAccurate
    dtype: bool
  - name: DistanceToDriverAhead
    sequence:
      sequence: float64
  - name: RPM
    sequence:
      sequence: float64
  - name: Speed
    sequence:
      sequence: float64
  - name: nGear
    sequence:
      sequence: float64
  - name: Throttle
    sequence:
      sequence: float64
  - name: Brake
    sequence:
      sequence: float64
  - name: DRS
    sequence:
      sequence: float64
  - name: X
    sequence:
      sequence: float64
  - name: Y
    sequence:
      sequence: float64
  - name: Z
    sequence:
      sequence: float64
  - name: gear_vis
    dtype: image
  - name: speed_vis
    dtype: image
  - name: RPM_emb
    sequence: float64
  - name: Speed_emb
    sequence: float64
  - name: nGear_emb
    sequence: float64
  - name: Throttle_emb
    sequence: float64
  - name: Brake_emb
    sequence: float64
  - name: X_emb
    sequence: float64
  - name: Y_emb
    sequence: float64
  - name: Z_emb
    sequence: float64
  - name: portrait
    dtype: image
  splits:
  - name: train
    num_bytes: 561415487.5469999
    num_examples: 1317
  download_size: 300522146
  dataset_size: 561415487.5469999
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
---
# Dataset Card for "f1_dataset"

This dataset includes race telemetry data from the Formula1 Montreail 2023 GP. It was obtained from the Ergast API using the fastf1 library.

We built an [interactive demo](https://huggingface.co/spaces/renumics/f1_montreal_gp) for this dataset on Hugging Face spaces.

![image/png](https://cdn-uploads.huggingface.co/production/uploads/63dd29ffaf221a78fa4ec8d1/VIqh7OcI0PKOqYCGp6rDZ.png)

You can explore the dataset on your machine with [Spotlight](https://github.com/Renumics/spotlight):

```bash
pip install renumics-spotlight
```

```Python
import datasets
from renumics import spotlight

ds = datasets.load_dataset('renumics/f1_dataset', split='train')
dtypes = {"DistanceToDriverAhead": spotlight.Sequence1D, "RPM": spotlight.Sequence1D, "Speed": spotlight.Sequence1D, "nGear": spotlight.Sequence1D,
    "Throttle": spotlight.Sequence1D, "Brake": spotlight.Sequence1D, "DRS": spotlight.Sequence1D, "X": spotlight.Sequence1D, "Y": spotlight.Sequence1D, "Z": spotlight.Sequence1D,
    'RPM_emb': spotlight.Embedding, 'Speed_emb': spotlight.Embedding, 'nGear_emb': spotlight.Embedding, 'Throttle_emb': spotlight.Embedding, 'Brake_emb': spotlight.Embedding, 
    'X_emb': spotlight.Embedding, 'Y_emb': spotlight.Embedding, 'Z_emb': spotlight.Embedding}

spotlight.show(ds, dtype=dtypes)
```