diff --git a/docs/example-notebooks/Fast-f1.ipynb b/docs/example-notebooks/Fast-f1.ipynb deleted file mode 100644 index 597677e9..00000000 --- a/docs/example-notebooks/Fast-f1.ipynb +++ /dev/null @@ -1,563 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 1, - "id": "88f555fa-aaa3-4053-bef6-125a4b1cb693", - "metadata": { - "tags": [] - }, - "outputs": [], - "source": [ - "import pandas as pd\n", - "#import buckaroo" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "id": "55ff0714-2059-4f6d-b085-de79a66a3362", - "metadata": { - "tags": [] - }, - "outputs": [], - "source": [ - "import fastf1" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "id": "d49ec2e5-a36a-4b06-a834-5515c9893fcc", - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "req WARNING \tDEFAULT CACHE ENABLED! (181.74 MB) /Users/paddy/Library/Caches/fastf1\n" - ] - } - ], - "source": [ - "ev2020 = fastf1.get_event_schedule(2020)\n", - "small_df = ev2020[ev2020.columns[4:5]][:1]\n", - "#small_df\n", - "#ev2020" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "id": "8106b129-65bc-46e0-8686-deccab279c31", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "Index(['RoundNumber', 'Country', 'Location', 'OfficialEventName', 'EventDate',\n", - " 'EventName', 'EventFormat', 'Session1', 'Session1Date',\n", - " 'Session1DateUtc', 'Session2', 'Session2Date', 'Session2DateUtc',\n", - " 'Session3', 'Session3Date', 'Session3DateUtc', 'Session4',\n", - " 'Session4Date', 'Session4DateUtc', 'Session5', 'Session5Date',\n", - " 'Session5DateUtc', 'F1ApiSupport'],\n", - " dtype='object')" - ] - }, - "execution_count": 4, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "ev2020.columns" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "id": "e70ad953-98f1-4b50-b6b0-b6bd0cfd9f88", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - " | EventDate | \n", - "
---|---|
0 | \n", - "2020-02-21 | \n", - "
\n", - " | RoundNumber | \n", - "Country | \n", - "Location | \n", - "OfficialEventName | \n", - "EventDate | \n", - "EventName | \n", - "EventFormat | \n", - "Session1 | \n", - "Session1Date | \n", - "Session1DateUtc | \n", - "... | \n", - "Session3 | \n", - "Session3Date | \n", - "Session3DateUtc | \n", - "Session4 | \n", - "Session4Date | \n", - "Session4DateUtc | \n", - "Session5 | \n", - "Session5Date | \n", - "Session5DateUtc | \n", - "F1ApiSupport | \n", - "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2 | \n", - "1 | \n", - "Austria | \n", - "Spielberg | \n", - "FORMULA 1 ROLEX GROSSER PREIS VON ÖSTERREICH 2020 | \n", - "2020-07-05 | \n", - "Austrian Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-07-03 11:00:00+02:00 | \n", - "2020-07-03 09:00:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-07-04 12:00:00+02:00 | \n", - "2020-07-04 10:00:00 | \n", - "Qualifying | \n", - "2020-07-04 15:00:00+02:00 | \n", - "2020-07-04 13:00:00 | \n", - "Race | \n", - "2020-07-05 15:10:00+02:00 | \n", - "2020-07-05 13:10:00 | \n", - "True | \n", - "
3 | \n", - "2 | \n", - "Austria | \n", - "Spielberg | \n", - "FORMULA 1 PIRELLI GROSSER PREIS DER STEIERMARK... | \n", - "2020-07-12 | \n", - "Styrian Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-07-10 11:00:00+02:00 | \n", - "2020-07-10 09:00:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-07-11 12:00:00+02:00 | \n", - "2020-07-11 10:00:00 | \n", - "Qualifying | \n", - "2020-07-11 15:00:00+02:00 | \n", - "2020-07-11 13:00:00 | \n", - "Race | \n", - "2020-07-12 15:10:00+02:00 | \n", - "2020-07-12 13:10:00 | \n", - "True | \n", - "
4 | \n", - "3 | \n", - "Hungary | \n", - "Budapest | \n", - "FORMULA 1 ARAMCO MAGYAR NAGYDÍJ 2020 | \n", - "2020-07-19 | \n", - "Hungarian Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-07-17 11:00:00+02:00 | \n", - "2020-07-17 09:00:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-07-18 12:00:00+02:00 | \n", - "2020-07-18 10:00:00 | \n", - "Qualifying | \n", - "2020-07-18 15:00:00+02:00 | \n", - "2020-07-18 13:00:00 | \n", - "Race | \n", - "2020-07-19 15:10:00+02:00 | \n", - "2020-07-19 13:10:00 | \n", - "True | \n", - "
5 | \n", - "4 | \n", - "Great Britain | \n", - "Silverstone | \n", - "FORMULA 1 PIRELLI BRITISH GRAND PRIX 2020 | \n", - "2020-08-02 | \n", - "British Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-07-31 11:00:00+01:00 | \n", - "2020-07-31 10:00:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-08-01 11:00:00+01:00 | \n", - "2020-08-01 10:00:00 | \n", - "Qualifying | \n", - "2020-08-01 14:00:00+01:00 | \n", - "2020-08-01 13:00:00 | \n", - "Race | \n", - "2020-08-02 14:10:00+01:00 | \n", - "2020-08-02 13:10:00 | \n", - "True | \n", - "
6 | \n", - "5 | \n", - "Great Britain | \n", - "Silverstone | \n", - "EMIRATES FORMULA 1 70TH ANNIVERSARY GRAND PRIX... | \n", - "2020-08-09 | \n", - "70th Anniversary Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-08-07 11:00:00+01:00 | \n", - "2020-08-07 10:00:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-08-08 11:00:00+01:00 | \n", - "2020-08-08 10:00:00 | \n", - "Qualifying | \n", - "2020-08-08 14:00:00+01:00 | \n", - "2020-08-08 13:00:00 | \n", - "Race | \n", - "2020-08-09 14:10:00+01:00 | \n", - "2020-08-09 13:10:00 | \n", - "True | \n", - "
7 | \n", - "6 | \n", - "Spain | \n", - "Barcelona | \n", - "FORMULA 1 ARAMCO GRAN PREMIO DE ESPAÑA 2020 | \n", - "2020-08-16 | \n", - "Spanish Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-08-14 11:00:00+02:00 | \n", - "2020-08-14 09:00:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-08-15 12:00:00+02:00 | \n", - "2020-08-15 10:00:00 | \n", - "Qualifying | \n", - "2020-08-15 15:00:00+02:00 | \n", - "2020-08-15 13:00:00 | \n", - "Race | \n", - "2020-08-16 15:10:00+02:00 | \n", - "2020-08-16 13:10:00 | \n", - "True | \n", - "
8 | \n", - "7 | \n", - "Belgium | \n", - "Spa-Francorchamps | \n", - "FORMULA 1 ROLEX BELGIAN GRAND PRIX 2020 | \n", - "2020-08-30 | \n", - "Belgian Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-08-28 11:00:00+02:00 | \n", - "2020-08-28 09:00:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-08-29 12:00:00+02:00 | \n", - "2020-08-29 10:00:00 | \n", - "Qualifying | \n", - "2020-08-29 15:00:00+02:00 | \n", - "2020-08-29 13:00:00 | \n", - "Race | \n", - "2020-08-30 15:10:00+02:00 | \n", - "2020-08-30 13:10:00 | \n", - "True | \n", - "
9 | \n", - "8 | \n", - "Italy | \n", - "Monza | \n", - "FORMULA 1 GRAN PREMIO HEINEKEN D’ITALIA 2020 | \n", - "2020-09-06 | \n", - "Italian Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-09-04 11:00:00+02:00 | \n", - "2020-09-04 09:00:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-09-05 12:00:00+02:00 | \n", - "2020-09-05 10:00:00 | \n", - "Qualifying | \n", - "2020-09-05 15:00:00+02:00 | \n", - "2020-09-05 13:00:00 | \n", - "Race | \n", - "2020-09-06 15:10:00+02:00 | \n", - "2020-09-06 13:10:00 | \n", - "True | \n", - "
10 | \n", - "9 | \n", - "Italy | \n", - "Mugello | \n", - "FORMULA 1 PIRELLI GRAN PREMIO DELLA TOSCANA FE... | \n", - "2020-09-13 | \n", - "Tuscan Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-09-11 11:00:00+02:00 | \n", - "2020-09-11 09:00:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-09-12 12:00:00+02:00 | \n", - "2020-09-12 10:00:00 | \n", - "Qualifying | \n", - "2020-09-12 15:00:00+02:00 | \n", - "2020-09-12 13:00:00 | \n", - "Race | \n", - "2020-09-13 15:10:00+02:00 | \n", - "2020-09-13 13:10:00 | \n", - "True | \n", - "
11 | \n", - "10 | \n", - "Russia | \n", - "Sochi | \n", - "FORMULA 1 VTB RUSSIAN GRAND PRIX 2020 | \n", - "2020-09-27 | \n", - "Russian Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-09-25 11:00:00+03:00 | \n", - "2020-09-25 08:00:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-09-26 12:00:00+03:00 | \n", - "2020-09-26 09:00:00 | \n", - "Qualifying | \n", - "2020-09-26 15:00:00+03:00 | \n", - "2020-09-26 12:00:00 | \n", - "Race | \n", - "2020-09-27 14:10:00+03:00 | \n", - "2020-09-27 11:10:00 | \n", - "True | \n", - "
12 | \n", - "11 | \n", - "Germany | \n", - "Nürburgring | \n", - "FORMULA 1 ARAMCO GROSSER PREIS DER EIFEL 2020 | \n", - "2020-10-11 | \n", - "Eifel Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-10-09 11:00:00+02:00 | \n", - "2020-10-09 09:00:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-10-10 12:00:00+02:00 | \n", - "2020-10-10 10:00:00 | \n", - "Qualifying | \n", - "2020-10-10 15:00:00+02:00 | \n", - "2020-10-10 13:00:00 | \n", - "Race | \n", - "2020-10-11 14:10:00+02:00 | \n", - "2020-10-11 12:10:00 | \n", - "True | \n", - "
13 | \n", - "12 | \n", - "Portugal | \n", - "Portimão | \n", - "FORMULA 1 HEINEKEN GRANDE PRÉMIO DE PORTUGAL 2020 | \n", - "2020-10-25 | \n", - "Portuguese Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-10-23 11:00:00+00:00 | \n", - "2020-10-23 11:00:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-10-24 11:00:00+00:00 | \n", - "2020-10-24 11:00:00 | \n", - "Qualifying | \n", - "2020-10-24 14:00:00+00:00 | \n", - "2020-10-24 14:00:00 | \n", - "Race | \n", - "2020-10-25 13:10:00+00:00 | \n", - "2020-10-25 13:10:00 | \n", - "True | \n", - "
14 | \n", - "13 | \n", - "Italy | \n", - "Imola | \n", - "FORMULA 1 EMIRATES GRAN PREMIO DELL'EMILIA ROM... | \n", - "2020-11-01 | \n", - "Emilia Romagna Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-10-31 10:00:00+01:00 | \n", - "2020-10-31 09:00:00 | \n", - "... | \n", - "\n", - " | NaT | \n", - "NaT | \n", - "Qualifying | \n", - "2020-10-31 14:00:00+01:00 | \n", - "2020-10-31 13:00:00 | \n", - "Race | \n", - "2020-11-01 13:10:00+01:00 | \n", - "2020-11-01 12:10:00 | \n", - "True | \n", - "
15 | \n", - "14 | \n", - "Turkey | \n", - "Istanbul | \n", - "FORMULA 1 DHL TURKISH GRAND PRIX 2020 | \n", - "2020-11-15 | \n", - "Turkish Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-11-13 11:00:00+03:00 | \n", - "2020-11-13 08:00:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-11-14 12:00:00+03:00 | \n", - "2020-11-14 09:00:00 | \n", - "Qualifying | \n", - "2020-11-14 15:00:00+03:00 | \n", - "2020-11-14 12:00:00 | \n", - "Race | \n", - "2020-11-15 13:10:00+03:00 | \n", - "2020-11-15 10:10:00 | \n", - "True | \n", - "
16 | \n", - "15 | \n", - "Bahrain | \n", - "Sakhir | \n", - "FORMULA 1 GULF AIR BAHRAIN GRAND PRIX 2020 | \n", - "2020-11-29 | \n", - "Bahrain Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-11-27 14:00:00+03:00 | \n", - "2020-11-27 11:00:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-11-28 14:00:00+03:00 | \n", - "2020-11-28 11:00:00 | \n", - "Qualifying | \n", - "2020-11-28 17:00:00+03:00 | \n", - "2020-11-28 14:00:00 | \n", - "Race | \n", - "2020-11-29 17:10:00+03:00 | \n", - "2020-11-29 14:10:00 | \n", - "True | \n", - "
17 | \n", - "16 | \n", - "Bahrain | \n", - "Sakhir | \n", - "FORMULA 1 ROLEX SAKHIR GRAND PRIX 2020 | \n", - "2020-12-06 | \n", - "Sakhir Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-12-04 16:30:00+03:00 | \n", - "2020-12-04 13:30:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-12-05 17:00:00+03:00 | \n", - "2020-12-05 14:00:00 | \n", - "Qualifying | \n", - "2020-12-05 20:00:00+03:00 | \n", - "2020-12-05 17:00:00 | \n", - "Race | \n", - "2020-12-06 20:10:00+03:00 | \n", - "2020-12-06 17:10:00 | \n", - "True | \n", - "
18 | \n", - "17 | \n", - "Abu Dhabi | \n", - "Yas Island | \n", - "FORMULA 1 ETIHAD AIRWAYS ABU DHABI GRAND PRIX ... | \n", - "2020-12-13 | \n", - "Abu Dhabi Grand Prix | \n", - "conventional | \n", - "Practice 1 | \n", - "2020-12-11 13:00:00+04:00 | \n", - "2020-12-11 09:00:00 | \n", - "... | \n", - "Practice 3 | \n", - "2020-12-12 14:00:00+04:00 | \n", - "2020-12-12 10:00:00 | \n", - "Qualifying | \n", - "2020-12-12 17:00:00+04:00 | \n", - "2020-12-12 13:00:00 | \n", - "Race | \n", - "2020-12-13 17:10:00+04:00 | \n", - "2020-12-13 13:10:00 | \n", - "True | \n", - "
17 rows × 23 columns
\n", - "