Spaces:
Runtime error
Runtime error
File size: 327 Bytes
fd03181 b906a5a fd03181 b906a5a fd03181 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
import streamlit as st
import pandas as pd
file = st.file_uploader('Seleccione un archivo: ')
if file is not None:
dataxb = pd.read_pickle(file)
st.write('Filas, Columnas de Data de Prueba: ', dataxb.shape)
n_cols = len(dataxb.columns)
n_cats = 2
x = st.slider('Select a value')
st.write(x, 'squared is', x * x) |