Spaces:
Runtime error
Runtime error
jcmachicao
commited on
Commit
•
d7fcf66
1
Parent(s):
1a22523
Update app.py
Browse files
app.py
CHANGED
@@ -3,11 +3,12 @@ import pandas as pd
|
|
3 |
|
4 |
# Load dataframe
|
5 |
file = st.file_uploader('Seleccione un archivo: ')
|
6 |
-
df = pd.
|
7 |
|
8 |
if file is None:
|
9 |
pass
|
10 |
else:
|
|
|
11 |
|
12 |
# Sidebar option
|
13 |
option = st.sidebar.selectbox('Classify results by:', ('Pregunta', 'Categoria'))
|
|
|
3 |
|
4 |
# Load dataframe
|
5 |
file = st.file_uploader('Seleccione un archivo: ')
|
6 |
+
df = pd.read_excel(file)
|
7 |
|
8 |
if file is None:
|
9 |
pass
|
10 |
else:
|
11 |
+
st.write(df.head())
|
12 |
|
13 |
# Sidebar option
|
14 |
option = st.sidebar.selectbox('Classify results by:', ('Pregunta', 'Categoria'))
|