Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
st.title("Mi primera chamba")
|
3 |
+
|
4 |
+
x = st.slider('Select a value')
|
5 |
+
st.write(x,'Squared is', x+x)
|
6 |
+
|
7 |
+
import pandas as pd
|
8 |
+
import numpy as np
|
9 |
+
|
10 |
+
data = np.random.randn(100,3)
|
11 |
+
|
12 |
+
df = pd.Dataframe(data, columns = "Col1", "Col2", "Col3")
|
13 |
+
|
14 |
+
st.write("Muestra los datos")
|
15 |
+
st.dataframe(df)
|
16 |
+
|
17 |
+
st.write("Grafico de lineas")
|
18 |
+
st.line_chat(df)
|