This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Put home.py in a working directory. Put page_1.py and page_2.py in a folder named pages. | |
import streamlit as st | |
import pandas as pd | |
def initialize(): | |
# the data | |
st.session_state.df1 = pd.DataFrame({'A':[1,2],'B':[3,4]}) | |
st.session_state.df2 = pd.DataFrame({'A':[1,2],'B':[3,4]}) | |
# the shadow data |