File size: 392 Bytes
f187b02
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import streamlit as st
import pandas as pd
import numpy as np


st.title('Simple Streamlit App')

st.write("Here's our first attempt at using data to create a table:")

data = pd.DataFrame({
   'first column': np.arange(1, 5),
   'second column': np.power(10, np.arange(1, 5))
})
st.write(data)

if st.button('Say hello'):
    st.write('Hello!')
else:
    st.write('Press the button above.')