Meena's picture
Update app.py
863ce74
raw
history blame
278 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.table(dataframe)