Compare commits
2 commits
951bd82a2b
...
cbf318690c
Author | SHA1 | Date | |
---|---|---|---|
cbf318690c | |||
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