From edaea203b7dba483bf8600893cc7aa382aa189a6 Mon Sep 17 00:00:00 2001 From: Guillem Borrell Date: Wed, 18 Jan 2023 09:50:02 +0000 Subject: [PATCH] Infer with no limits --- src/io.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/io.rs b/src/io.rs index a6edc9b..708cda6 100644 --- a/src/io.rs +++ b/src/io.rs @@ -8,6 +8,7 @@ use std::path::PathBuf; pub fn read_csv(path: String, delimiter: u8) -> LazyFrame { LazyCsvReader::new(path) .with_delimiter(delimiter) + .with_infer_schema_length(None) .finish() .expect("Could not load file") }