DataLab-Platform / DataLab

Open-source Platform for Scientific and Technical Data Processing and Visualization
https://datalab-platform.com
BSD 3-Clause "New" or "Revised" License
49 stars 4 forks source link

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

Open guang7400613 opened 6 months ago

guang7400613 commented 6 months ago

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 )

PierreRaybaut commented 6 months ago

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?