Skip to content
Discussion options

You must be logged in to vote

You can use the truncated_rows config:

/// Whether to allow truncated rows when parsing, both within a single file and across files.
///
/// When set to false (default), reading a single CSV file which has rows of different lengths will
/// error; if reading multiple CSV files with different number of columns, it will also fail.
///
/// When set to true, reading a single CSV file with rows of different lengths will pad the truncated
/// rows with null values for the missing columns; if reading multiple CSV files with different number
/// of columns, it creates a u…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Jefffrey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants