CsvDataSource constructor
Contents
[
Hide
]
init
Creates a new data source with data from a CSV file using default options for parsing CSV data.
def __init__(self, csv_path):
...
Parameter | Type | Description |
---|---|---|
csv_path | str | The path to the CSV file to be used as the data source. |
init
Creates a new data source with data from a CSV stream using default options for parsing CSV data.
def __init__(self, csv_stream):
...
Parameter | Type | Description |
---|---|---|
csv_stream | io.RawIOBase | The stream of CSV data to be used as the data source. |
init
Creates a new data source with data from a CSV file using the specified options for parsing CSV data.
def __init__(self, csv_path, options):
...
Parameter | Type | Description |
---|---|---|
csv_path | str | The path to the CSV file to be used as the data source. |
options | CsvDataLoadOptions |
Options for parsing the CSV data. |
init
Creates a new data source with data from a CSV stream using the specified options for parsing CSV data.
def __init__(self, csv_stream, options):
...
Parameter | Type | Description |
---|---|---|
csv_stream | io.RawIOBase | The stream of CSV data to be used as the data source. |
options | CsvDataLoadOptions |
Options for parsing the CSV data. |
See Also
- module
groupdocs.assembly.data
- class
CsvDataSource