Skip to main content
FastF1 provides powerful data analysis capabilities through seamless Pandas integration. This guide covers practical workflows for analyzing F1 session data, filtering laps, and comparing driver performance.

Working with Session Data

Every F1 session provides comprehensive data through the Session object. Load a session to access lap times, telemetry, and results:

Pandas Integration

FastF1 returns data as Pandas DataFrames and Series, giving you the full power of Pandas for data manipulation:

Filtering Data

FastF1 provides specialized methods for common filtering operations:

Filtering by Driver

Filtering by Lap Quality

Filtering by Tire Compound

Comparing Drivers

Analyze and compare driver performance using filtering and aggregation:

Lap Time Comparison

Race Pace Analysis

Qualifying Performance

Telemetry Comparison

Advanced Data Analysis

Stint Analysis

Tire Degradation

Sector Time Analysis

Working with Time Data

FastF1 uses Pandas timedelta for time values:

Best Practices

  1. Enable caching to avoid re-downloading data on every run
  2. Use pick_quicklaps() when analyzing race pace to filter out slow laps
  3. Reset index after filtering with .reset_index() for cleaner plots
  4. Check for missing data - not all laps have complete telemetry
  5. Use timedelta support in matplotlib with setup_mpl(mpl_timedelta_support=True)

Next Steps