csv: allow all Ruby csv parsing options
Closes #149 Generalization on PR #146 by Qgel. Thanks for the contribution!
This commit is contained in:
@@ -36,5 +36,14 @@ explode
|
||||
|
||||
Quantity explosion will be applied to the column this name. For example, rows in the csv with a ``'qty'`` of 3 will be duplicated 3 times.
|
||||
|
||||
col_sep
|
||||
default: ``','``
|
||||
|
||||
Column separator. One of the CSV custom options in Ruby. See next option below.
|
||||
|
||||
CSV custom options in Ruby standard lib.
|
||||
All of the options in Ruby's std lib version of CSV are supported **except** ``headers`` is always ``true`` and ``converters`` is always set to ``:numeric``. See the `Ruby Docs <http://ruby-doc.org/stdlib-2.2.0/libdoc/csv/rdoc/CSV.html#method-c-new>`_ for information on the options.
|
||||
|
||||
|
||||
Examples
|
||||
--------
|
||||
|
||||
Reference in New Issue
Block a user