Skip to content

Fix separator detection not working for one column csv files#2

Open
mikekreeki wants to merge 1 commit into
wvengen:masterfrom
productboard:one-column-csv
Open

Fix separator detection not working for one column csv files#2
mikekreeki wants to merge 1 commit into
wvengen:masterfrom
productboard:one-column-csv

Conversation

@mikekreeki
Copy link
Copy Markdown

@mikekreeki mikekreeki commented Nov 2, 2020

Passing col_sep: nil option to CSV constructor causes CSV to separate each character as a separate column.

With CSV content as follows:

name
productboard

Parsed row before the fix (incorrect):

['p', 'r', 'o', 'd', 'u', 'c', 't', 'b', 'o', 'a', 'r', 'd', nil]

Parsed row after the fix (correct):

['productboard']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant