How to use charts in streamlit?

Viewed 34

I write an app that generates some df. I am trying to add a line graph so that the DataFrame can be better visualised. But I keep getting the same error when I want to determine the columns for the x and y-axis. This is my code for the line chart:

st.line_chart(raport4,x="rasa",y=[["blup_zwh","zwh2","zwh3","zwh4","zwh5","zwh6"]])

And this is my DF and the Error: enter image description here

I don't know what am I doing wrong. Thanks for any help.

0 Answers
Related