DataLab icon indicating copy to clipboard operation
DataLab copied to clipboard

Can 't DataLab automatically identify the headers of CSV data?

Open guang7400613 opened this issue 1 year ago • 1 comments

Can 't DataLab automatically identify the headers ( as legends of curves ) and time columns of csv data ? Prompt can not read the csv file ( format does not support )

guang7400613 avatar May 26 '24 08:05 guang7400613

Thanks for your feedback.

There are two ways of opening CSV data in DataLab:

  1. File > Open signal... (standard automatic CSV file reader)
  2. File > Import text file... (custom wizard for importing almost any type of text file, e.g. CSV files)

Option 1. should open most of CSV files but as there is no standard format, it may sometimes fail and either import only data (no headers) or import nothing (and show an error message). If it fails, option 2. is the only way to import your data.

So, to answer your initial question: yes DataLab can identify automatically headers in CSV files, most of the time (e.g. this file or this one).

Could you attach the CSV file that you are trying to import in DataLab?

PierreRaybaut avatar May 26 '24 09:05 PierreRaybaut

Closing this issue because subject is no longer active

PierreRaybaut avatar Mar 08 '25 16:03 PierreRaybaut