Meena's picture
Update app.py
13b408c
raw
history blame
303 Bytes
import pandas as pd
from io import StringIO
import streamlit as st
uploaded_file = st.file_uploader("Choose a file")
if uploaded_file is not None:
# Can be used wherever a "file-like" object is accepted:
dataframe = pd.read_csv(uploaded_file)
st.write(dataframe)
st.table(dataframe)