MCPcopy Create free account
hub / github.com/apache/datafusion / with_has_header

Method with_has_header

datafusion/datasource-csv/src/file_format.rs:223–226  ·  view source on GitHub ↗

Set true to indicate that the first line is a header. - default to true

(mut self, has_header: bool)

Source from the content-addressed store, hash-verified

221 /// Set true to indicate that the first line is a header.
222 /// - default to true
223 pub fn with_has_header(mut self, has_header: bool) -> Self {
224 self.options.has_header = Some(has_header);
225 self
226 }
227
228 pub fn with_truncated_rows(mut self, truncated_rows: bool) -> Self {
229 self.options.truncated_rows = Some(truncated_rows);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected