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

How to plot multiple time series in same window? #6921

Open
R470R opened this issue Jan 16, 2025 · 1 comment
Open

How to plot multiple time series in same window? #6921

R470R opened this issue Jan 16, 2025 · 1 comment

Comments

@R470R
Copy link

R470R commented Jan 16, 2025

Hello, I want to plot 8 time series stored in same file in same row, and choose between 4 labels for classification.

But i'm getting problem importing the csv 'Problems with parsing CSV: Cannot find provided separator ",". Row 1:
URL: undefined$' what does it mean ?

@heidi-humansignal
Copy link
Collaborator

Hello,

Thank you for contacting Label Studio,

Could you please check the following suggestions in order to fix the issue you are facing, as it looks like the Label Studio can’t detect the comma separator in your CSV file. Typically, this error (“Cannot find provided separator ‘,’…”) happens when:

• The file isn’t actually comma-separated (it might have tabs or semicolons).

• Extra quotes or mismatched quoting breaks the first line.

• A header row is missing or unexpectedly formatted (for example, quoting the header names can sometimes cause issues).
Steps to fix this:

  1. Check if the file is truly comma-separated. If it’s tab-separated, try adding sep=" \t" in the labeling config, or convert the file to commas.

  2. Remove excessive quotes from the header line if they exist.

  3. Confirm each row has the same number of fields as the header row.

Then, to plot 8 time series for classification, you can do something like:

<View> <TimeSeriesLabels name="my_labels" toName="ts"> <Label value="Label1" background="red"/> <Label value="Label2" background="green"/> <Label value="Label3" background="blue"/> <Label value="Label4" background="orange"/> </TimeSeriesLabels> <TimeSeries name="ts" valueType="url" value="$csv" sep="," timeColumn="time"> <Channel column="series1" /> <Channel column="series2" /> <Channel column="series3" /> <Channel column="series4" /> <Channel column="series5" /> <Channel column="series6" /> <Channel column="series7" /> <Channel column="series8" /> </TimeSeries></View>

Make sure the CSV columns match the “column=” attributes in the <Channel> tags. Once your separator matches the file format, it should properly load all eight series.

Hope this helps!

Comment by Oussama Assili
Workflow Run

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

No branches or pull requests

2 participants