Hi,
I’m trying to import a small .csv file but it imports everything into one column:
here is the ‘app’:
df = pd.read_csv(r'/home/mike/avg111.csv', sep='comma', header=0)
st.dataframe(df, use_container_width=True)
I tried playing around with a few parameters,
originally, they were: sep=‘delimeter’, header=none
Does Streamlit have the ability to separate out the columns?
I’m following instructions here Dataframes - Streamlit Docs but did not see how to do this.
It’s a pretty simple .cvs of 7 columns and 46 rows, all numbers.
Thanks,
Mike
- running locally
- app is not deployed:
- app not on Github yet (locally only)
- Python 3.10.13, Streamlit 1.28.1