Spaces:
Runtime error
Runtime error
jcmachicao
commited on
Commit
•
b906a5a
1
Parent(s):
fd03181
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,13 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
x = st.slider('Select a value')
|
4 |
st.write(x, 'squared is', x * x)
|
|
|
1 |
import streamlit as st
|
2 |
+
import pandas as pd
|
3 |
|
4 |
+
file = st.file_uploader('Seleccione un archivo: ')
|
5 |
+
|
6 |
+
if file is not None:
|
7 |
+
dataxb = pd.read_pickle(file)
|
8 |
+
st.write('Filas, Columnas de Data de Prueba: ', dataxb.shape)
|
9 |
+
n_cols = len(dataxb.columns)
|
10 |
+
n_cats = 2
|
11 |
+
|
12 |
x = st.slider('Select a value')
|
13 |
st.write(x, 'squared is', x * x)
|