CsvDataLoadOptions class
Leave feedback
On this page
Represents options for parsing CSV data.
An instance of this class can be passed into constructors of CsvDataSource.
The CsvDataLoadOptions type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of this class with default options. |
| init | Initializes a new instance of this class with specifying whether CSV data contains column names at the first line. |
| Property | Description |
|---|---|
| comment_char | The character used to comment lines of CSV data. |
| delimiter | The character used as a column delimiter. |
| has_headers | The property indicating whether the first line of CSV data contains column names. |
| quote_char | The character used to quote field values. |
from groupdocs.assembly.data import CsvDataLoadOptions, CsvDataSource
options = CsvDataLoadOptions(True) # first line contains column names
data_source = CsvDataSource("persons.csv", options)
Task guides that use CsvDataLoadOptions:
- module
groupdocs.assembly.data
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.