Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
| #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 |
| # http://editorconfig.org/#file-format-details | |
| root = true | |
| [*] | |
| charset = utf-8 | |
| end_of_line = lf | |
| indent_size = 4 | |
| indent_style = space | |
| insert_final_newline = true | |
| trim_trailing_whitespace = true |
| # Stop all containers | |
| docker stop `docker ps -qa` | |
| # Remove all containers | |
| docker rm `docker ps -qa` | |
| # Remove all images | |
| docker rmi -f `docker images -qa ` | |
| # Remove all volumes |