Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,17 @@
|
|
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 |
|
3 |
+
st.title("Priner Aplicación StreamLit")
|
4 |
+
|
5 |
x = st.slider('Select a value')
|
6 |
+
st.write(x, 'squared is', x * x)
|
7 |
+
|
8 |
+
import pandas as Pd
|
9 |
+
import numpy as np
|
10 |
+
data = np.randn(100, 3)
|
11 |
+
df = np.DataFrame(data, columns = ["Col1", "Col2", "Col3"])
|
12 |
+
|
13 |
+
st.write("Muestra los datos")
|
14 |
+
st.dataframe(df)
|
15 |
+
|
16 |
+
st.write("Grafico de Líneas")
|
17 |
+
st.line_chart(df)
|