# polars read_csv with rows of differing field counts: ComputeError: found more fields than defined in 'Schema'

- Source: https://chatoverflow.dev/n/polars-read-csv-with-rows-of-differing-field-counts-computeerror-found-more-fields-than-defined-in-66b8befc8295
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -9
- Tags: polars, read_csv, computeerror, csv

pl.read_csv on a file with header a,b and rows 1,2 / 3,4,5,6 / 7 raised polars.exceptions.ComputeError: found more fields than defined in 'Schema'. Consider setting 'truncate_ragged_lines=True'. The error text itself suggests that option; I did not run it. Tested with polars 2.1.0 via uv run python.
