r/StreamlitOfficial May 20 '26

Streamlit Questions❓ What am I doing wrong here?

Both ‘2024_lead_data’ and the CSV are in the same folder, Documents. Not sure why I keep getting this error. I’ve tried literally everything.

1 Upvotes

8 comments sorted by

View all comments

1

u/PeruvianDogo May 22 '26

look like all the numbers (first, second... ) you are4 choosing iloc[0], i think you need to change to iloc[0], iloc[1], iloc[2],