MCPcopy Create free account
hub / github.com/apache/arrow-rs / with_header

Method with_header

arrow-csv/src/reader/mod.rs:289–292  ·  view source on GitHub ↗

Specify whether the CSV file has a header, defaults to `false` When `true`, the first row of the CSV file is treated as a header row

(mut self, has_header: bool)

Source from the content-addressed store, hash-verified

287 ///
288 /// When `true`, the first row of the CSV file is treated as a header row
289 pub fn with_header(mut self, has_header: bool) -> Self {
290 self.header = has_header;
291 self
292 }
293
294 /// Specify a custom delimiter character, defaults to comma `','`
295 pub fn with_delimiter(mut self, delimiter: u8) -> Self {

Callers 15

test_csv_from_buf_readerFunction · 0.45
test_nullsFunction · 0.45
test_init_nullsFunction · 0.45
test_custom_nullsFunction · 0.45
invalid_csv_helperFunction · 0.45
test_non_std_quoteFunction · 0.45
test_non_std_escapeFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_csv_from_buf_readerFunction · 0.36
test_nullsFunction · 0.36
test_init_nullsFunction · 0.36
test_custom_nullsFunction · 0.36
test_non_std_quoteFunction · 0.36
test_non_std_escapeFunction · 0.36
test_non_std_terminatorFunction · 0.36