Comments (3)
Can reproduce in version 3.1.6. Seems we forgot to include CountryCode
when fixing #460:
Lines 1493 to 1496 in 89033fd
@theOehrly fastf1/_api.py
in master branch doesn't fix #460. Shall I wrap up both #460 and this and create a PR to master?
from fast-f1.
A quick fix would be go to _api.py
, and add , 'CountryCode'
to line 1495. You can find your _api.py
by running pip show fastf1
in terminal:
Name: fastf1 Version: 3.1.6 Summary: Wrapper library for F1 data and telemetry API with additional data processing capabilities. Home-page: https://github.com/theOehrly/Fast-F1 Author: Oehrly Author-email: [email protected] License: MIT Location: c:\program files\python310\lib\site-packages <-- here
Open c:/program files/python310/lib/site-packages/fastf1/_api.py
and change line 1495 to:
default_keys = [
'RacingNumber', 'BroadcastName', 'FullName', 'Tla', 'Line', 'TeamName',
'TeamColour', 'FirstName', 'LastName', 'Reference', 'HeadshotUrl', 'CountryCode'
]
from fast-f1.
@harningle Thanks for looking into this. If you want to create a PR to fix this, the best way would be to check out the maintenance-v3.1 branch, commit the fix and submit the PR from there. Then, change the base branch of the PR from master to maintenance-v3.1 in Github.
maintenance-v3.1 will be merged into master again at some point. That wasn't very clean branch management from my side. I really should only fix issues on the master branch and backport to the maintenance branch. I need to be more consistent here in the future (meaning from v3.2 onwards).
from fast-f1.
Related Issues (20)
- [BUG] get_circuit_info() doesn't work with custom TELEMETRY_FREQUENCY HOT 6
- [BUG] Example ``plot_driver_laptimes.py`` no longer working with latest Seaborn release HOT 11
- [BUG] Data for Piastri in the sprint shootout not available HOT 2
- [BUG] The first lap of a race should not have a PitOutTime HOT 3
- [BUG] Incorrect Qatar Sprint results due to not applied penalties HOT 3
- [BUG] All laps from Singapore and Qatar Grand Prix have IsAccurate=False HOT 3
- [ENH] Add Python 3.12 to test HOT 1
- [BUG] USGP Results | Duplicate entry for TSU and LEC missing data HOT 4
- [BUG] Laps.pick_fastest(only_by_time=True) inconsistency HOT 5
- [BUG] Restart lap times after the red flag HOT 10
- Ergast ShuttingDown HOT 1
- [DEPR] ``pick_fastest`` needs to return ``None`` instead of empty ``Lap`` HOT 1
- Rainfall Data wrong in Weather Data for some GPs HOT 2
- install pyproject.toml-based projects HOT 10
- [ENH] Drivers colors HOT 7
- [BUG] Las Vegas FP1, FP3 and Race failing to load HOT 4
- [BUG] Incorrect data Las Vegas Race HOT 3
- [ENH] Telemetry DataFrame should include DriverId HOT 9
- Lap to grid + formation lap part of the data for Sprint Shootout and Race sessions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-f1.