Skip to content

Use the CSV Dialect to read/write data using... csv #82

@dalonsoa

Description

@dalonsoa

Problem

The CSV Dialect implemented in #2 is only useful if it is used to inform the underlying reader - in this case, csv, how to read and write the data.

Solution

Assuming we have a validated CSV Dialect - see #2 - use it to pass the relevant information to csv's reader and writer functions. Mind that some of the settings of the CSV Dialog might not have a matching argument in those functions. Those should be ignored.

If csv_options are passed by the user when reading or writing that contradict the dialect used, those should be used instead, the Dialect metadata updated in the file AND a warning printed to inform the user about that.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions