prubaStreamlit / app.py
julio07cesar10's picture
Update app.py
4370c02 verified
raw
history blame contribute delete
No virus
425 Bytes
import streamlit as st
st.title("Primera Aplicacion StreamLit")
x = st.slider('Select a value')
st.write(x, 'squared is', x * x)
import pandas as pd
import numpy as np
data = np.random.randn(100, 3)
df = pd.DataFrame(data, columns = ["Col1", "Col2", "Col3"])
st.write("Muestra los datos")
st.dataframe(df)
st.write("Grafico de Líneas")
st.line_chart(df)
st.button("Boton de Prueba")
st.text_input("Ingrese el Texto:")