Spaces:
Sleeping
Sleeping
File size: 2,034 Bytes
191195c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# Read
import streamlit as st
import sys,os
sys.path.append(f'{os.getcwd()}/utils')
from utils.data_users import get_developer_page_layout,get_product_dev_page_layout
print(os.getcwd())
# st.write(st.session_state.user_group)
USER_GROUPS = ["Developer", "Manager", "Practitioner"]
st.set_page_config(layout="wide")
if 'user_group' not in st.session_state:
index_tmp = 0
else:
index_tmp = USER_GROUPS.index(st.session_state['user_group'])
#Sidebar for USER GROUPS
st.sidebar.title("USER GROUPS")
backend = st.sidebar.selectbox(
"Select User-Group ", USER_GROUPS, index=index_tmp
)
st.session_state['user_group'] = backend
# # with st.sidebar:
# st.sidebar.title("🎈Explore Data Panel")
st.title("🎈Explore Data Panel")
st.write(
"""
##
Examining data is the key factor here and it provides deta-centric approach. Thus this module provides details regarding forllowing aspect of the data .
""")
list_test = """<ul>
<li>Data preprocessing: asdsdfdf</li>
<li>Data source: asdsdfdf</li>
<li>Data onboarding: asdsdfdf</li>
</ul>"""
st.markdown(list_test, unsafe_allow_html=True)
# with st.sidebar.expander("🧩 COMPONENTS", True):
# # genre = st.radio("",('Data Info', 'Data EDA', 'Data ONboard'))
# status_a = st.checkbox("Test editor", key="a")
# status_b = st.checkbox("Ace editor", key="b")
# if status_a:
# st.write("A checked")
# if status_a and status_b:
# st.write("They arechecked")
if backend == "Developer":
get_product_dev_page_layout()
# st.checkbox("Ace editor", key="b", disabled=selected)
# page.item("Ace editor", components.ace_editor)
# page.item("Disqus", components.disqus)
# page.item("Elements⭐", components.elements)
# page.item("Pandas profiling", components.pandas_profiling)
# page.item("Quill editor", components.quill_editor)
# page.item("React player", components.react_player) |