hbg-weather / app_streamlit.py
Robzy's picture
yaml change
b5519c4
raw
history blame
568 Bytes
import streamlit as st
import pandas as pd
import numpy as np
st.title('Lahore Air Quality!')
st.subheader('Particle matter, diameter < 2.5 micrometers (PM2.5)')
### Load data
import datetime
import hopsworks
from functions import util
import os
if __name__ == "__main__":
if "df" not in st.session_state:
st.session_state.df = pd.DataFrame(np.random.randn(20, 2), columns=["x", "y"])
else:
st.session_state.df = pd.DataFrame(
np.random.randn(20, 3),
columns=['a', 'b', 'c'])
st.line_chart(st.session_state.df)