@@ -47,7 +47,7 @@ pub fn df_from_csv(
4747 null_vals : Vec < String > ,
4848 parse_dates : bool ,
4949 eol_delimiter : Option < u8 > ,
50- quote_char : Option < u8 > ,
50+ quote_delimiter : Option < u8 > ,
5151) -> Result < ExDataFrame , ExplorerError > {
5252 let encoding = match encoding {
5353 "utf8-lossy" => CsvEncoding :: LossyUtf8 ,
@@ -72,7 +72,7 @@ pub fn df_from_csv(
7272 . with_parse_options (
7373 CsvParseOptions :: default ( )
7474 . with_encoding ( encoding)
75- . with_quote_char ( quote_char )
75+ . with_quote_char ( quote_delimiter )
7676 . with_truncate_ragged_lines ( true )
7777 . with_try_parse_dates ( parse_dates)
7878 . with_separator ( delimiter_as_byte)
@@ -182,7 +182,7 @@ pub fn df_load_csv(
182182 null_vals : Vec < String > ,
183183 parse_dates : bool ,
184184 eol_delimiter : Option < u8 > ,
185- quote_char : Option < u8 > ,
185+ quote_delimiter : Option < u8 > ,
186186) -> Result < ExDataFrame , ExplorerError > {
187187 let encoding = match encoding {
188188 "utf8-lossy" => CsvEncoding :: LossyUtf8 ,
@@ -214,7 +214,7 @@ pub fn df_load_csv(
214214 null_vals. iter ( ) . map ( |x| x. into ( ) ) . collect ( ) ,
215215 ) ) )
216216 . with_try_parse_dates ( parse_dates)
217- . with_quote_char ( quote_char )
217+ . with_quote_char ( quote_delimiter )
218218 . with_eol_char ( eol_delimiter. unwrap_or ( b'\n' ) ) ,
219219 )
220220 . into_reader_with_file_handle ( cursor)
0 commit comments