pub struct ExcelReadOptions {
pub sheet_name: Option<String>,
pub has_headers: bool,
pub usecols: Option<Vec<String>>,
pub names: Option<Vec<String>>,
pub index_col: Option<String>,
pub skip_rows: usize,
}Expand description
Options for reading Excel files.
Fields§
§sheet_name: Option<String>Sheet name to read. If None, reads the first sheet.
has_headers: boolWhether the first row contains column headers.
usecols: Option<Vec<String>>Read only these columns (by name). None means read all.
Matches pandas usecols parameter for label-based selection.
names: Option<Vec<String>>Explicit column names to use instead of worksheet headers or
auto-generated column_N names. Matches pandas names=....
index_col: Option<String>Optional column to use as the DataFrame index.
skip_rows: usizeNumber of initial rows to skip before reading headers/data.
Trait Implementations§
Source§impl Clone for ExcelReadOptions
impl Clone for ExcelReadOptions
Source§fn clone(&self) -> ExcelReadOptions
fn clone(&self) -> ExcelReadOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExcelReadOptions
impl Debug for ExcelReadOptions
Auto Trait Implementations§
impl Freeze for ExcelReadOptions
impl RefUnwindSafe for ExcelReadOptions
impl Send for ExcelReadOptions
impl Sync for ExcelReadOptions
impl Unpin for ExcelReadOptions
impl UnsafeUnpin for ExcelReadOptions
impl UnwindSafe for ExcelReadOptions
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more