Infer with no limits
This commit is contained in:
parent
4e94ad295b
commit
edaea203b7
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue