File size: 423 Bytes
f51e197
 
 
 
 
 
 
 
 
b1a0d5b
f51e197
b1a0d5b
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import streamlit as st
import pandas as pd

st.title('Excel File Uploader')

st.markdown('Upload an Excel file to view the data in a table.')

uploaded_file = st.file_uploader('Choose a file', type='xlsx')


if uploaded_file is not None:
    data_caqh = pd.read_excel(uploaded_file, sheet_name='CAQH')
    data_ndb = pd.read_excel(uploaded_file, sheet_name='NDB')
    
    st.dataframe(data_caqh)
    st.dataframe(data_ndb)