Skip to content

How to handle tab delimited csv file? #261

Description

I have a csv file with the tab character als a delimiter.
I'm in VSCode and have the file open.
Extensions like Rainbow CSV have no problem detecting the columns.
But SandDance doesn't recognize my columns. It just sees one single column.
How can I tell SandDance (the VSCode extension) to use the tab character as a delimiter?

Activity

  1. danmarshall commented on Jul 24, 2020

    @danmarshall
    Contributor

    Hi Stefan Wolfrum (@metawops), can you try changing the file extension to tsv to see if it works? Typically .csv files use a comma, and .tsv files use a tab as delimiters.

    We could add features to do better column detection, as well as handle semicolon and international number formats which use a comma as a decimal.

  2. metawops commented on Jul 28, 2020

    @metawops
    Author

    Hi Stefan Wolfrum (@metawops), can you try changing the file extension to tsv to see if it works? Typically .csv files use a comma, and .tsv files use a tab as delimiters.

    That actually worked. However, Windows Explorer now doesn’t show the Excel document icon anymore because Excel apparently isn’t connected with .tsv files.
    Anyway, thanks for the hint!

    We could add features to do better column detection, as well as handle semicolon and international number formats which use a comma as a decimal.

    I’d appreciate that. Always a hassle working with decimal points/commas in number, date formats, commas in strings that are not field separators etc.pp.

  3. Para7etamol commented on Oct 28, 2021

    @Para7etamol

    Quick fix could be to make the column separator an editable setting ;-)

    Need semicolon as separator, because comma is the decimal separator in german!

  4. Runekeon commented on May 19, 2022

    @Runekeon

    I agree working with nested json in columns so using ~ for separator. The ~ never shows up in the data but almost any other character could. Most commonly csv files use a comm but the c can stand for character separated file. So Allowing separation by a selected character helps a lot, when data contains embedded commas.

  5. hammerandpick commented on Feb 4, 2023

    @hammerandpick

    Quick fix could be to make the column separator an editable setting ;-)

    Need semicolon as separator, because comma is the decimal separator in german!

    Same here, this problem is due to the switched "." and "," within numbers. I raised this as idea #606 before checking for this issue.

  6. verajosemanuel commented on Apr 12, 2023

    @verajosemanuel

    same here. Comma separator is for decimals in spanish, so unable to use SandDance in vscode

  7. ShinySky42 commented on Apr 26, 2026

    @ShinySky42

    Grave digging but the column separator needs to be an editable setting.

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions