How to build a chart from a csv file separated datas by ";"

Hi,
I trying to ceate a line chart from my csv file. I have a problem in how to label the x-axis and y-axis range if the data in the CSV file is in one column separated by β€œ;”.

DB

Ultimately, on the X axis will be the date, on the Y axis the other values. The chart will refresh periodically, because the csv file generates a new row of data every minute.

Thanks for help.

Hi @Dawid222, welcome to the forum! Could you post your code for your streamlit app? I think the issue may be happening when you’re reading in your CSV file. You want to tell the program to separate based on ; rather than ,

Give this line a try and see

df = pd.read_csv(path_to_file, sep=";")
1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.