Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
guang7400613 opened this issue May 26, 2024 · 1 comment
Open
Labels
documentation Improvements or additions to documentation

Comments

@guang7400613
Copy link

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 guang7400613 added the documentation Improvements or additions to documentation label May 26, 2024
@PierreRaybaut
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants