pub struct CsvWriter<W: Write> { /* private fields */ }
Expand description
Write a DataFrame to csv.
Implementations
sourceimpl<W> CsvWriter<W> where
W: Write,
impl<W> CsvWriter<W> where
W: Write,
sourcepub fn has_header(self, has_header: bool) -> Self
pub fn has_header(self, has_header: bool) -> Self
Set whether to write headers
sourcepub fn with_delimiter(self, delimiter: u8) -> Self
pub fn with_delimiter(self, delimiter: u8) -> Self
Set the CSV file’s column delimiter as a byte character
sourcepub fn with_date_format(self, format: Option<String>) -> Self
pub fn with_date_format(self, format: Option<String>) -> Self
Set the CSV file’s date format
sourcepub fn with_time_format(self, format: Option<String>) -> Self
pub fn with_time_format(self, format: Option<String>) -> Self
Set the CSV file’s time format
sourcepub fn with_timestamp_format(self, format: Option<String>) -> Self
pub fn with_timestamp_format(self, format: Option<String>) -> Self
Set the CSV file’s timestamp format array in
Trait Implementations
Auto Trait Implementations
impl<W> RefUnwindSafe for CsvWriter<W> where
W: RefUnwindSafe,
impl<W> Send for CsvWriter<W> where
W: Send,
impl<W> Sync for CsvWriter<W> where
W: Sync,
impl<W> Unpin for CsvWriter<W> where
W: Unpin,
impl<W> UnwindSafe for CsvWriter<W> where
W: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more