Export to CSV
The simplest way to export data for use in Excel, Google Sheets, or other tools.Export to Parquet
Parquet is a columnar storage format. It is more efficient than CSV for large datasets.Export to JSON
For web applications or APIs.Export to Excel
Create Excel files with multiple sheets.This section requires the optional Excel engine. Install it with
pip install openpyxl.Export to SQL Database
Store data in a relational database for complex queries.SQLite treats column names as case-insensitive. The laps DataFrame contains both
Team and team (and Driver and drv) source columns. Drop the duplicates
before the SQL write.Export to PostgreSQL
For production databases.This section requires the optional SQL toolkit. Install it with
pip install sqlalchemy,
plus a PostgreSQL driver such as psycopg2-binary.Export for Machine Learning
Prepare data for ML frameworks.NumPy Arrays
HDF5 Format
Efficient for large numerical datasets.This section requires the optional HDF5 engine. Install it with
pip install tables.Export for Data Visualization Tools
Tableau / Power BI
Export to formats these tools can read.Plotly Dash / Streamlit
Export to JSON for web dashboards.Batch Export Multiple Sessions
Export an entire race weekend or season.Export Entire Season
Working with Polars Backend
The polars backend gives additional export options.Export Telemetry for All Drivers
Efficiently export telemetry for multiple drivers.Best Practices
Use Parquet
Parquet is 5-10x smaller than CSV and faster to read/write.
Batch Operations
Use async loading and batch exports for multiple sessions.
Compression
Enable compression for large datasets (snappy, gzip, zstd).
Type Preservation
Parquet and HDF5 preserve data types. CSV does not.
Related Pages
Examples
Export examples.
Common Use Cases
Handle big data.