Infer with no limits

This commit is contained in:
Guillem Borrell 2023-01-18 09:50:02 +00:00
parent 4e94ad295b
commit edaea203b7

View file

@ -8,6 +8,7 @@ use std::path::PathBuf;
pub fn read_csv(path: String, delimiter: u8) -> LazyFrame { pub fn read_csv(path: String, delimiter: u8) -> LazyFrame {
LazyCsvReader::new(path) LazyCsvReader::new(path)
.with_delimiter(delimiter) .with_delimiter(delimiter)
.with_infer_schema_length(None)
.finish() .finish()
.expect("Could not load file") .expect("Could not load file")
} }