prubaStreamlit / app.py
julio07cesar10's picture
Update app.py
03a8575 verified
raw
history blame
360 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 = np.DataFrame(data, columns = ["Col1", "Col2", "Col3"])
st.write("Muestra los datos")
st.dataframe(df)
st.write("Grafico de Líneas")
st.line_chart(df)