Spaces:
Runtime error
Runtime error
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) |