Spaces:
Runtime error
Runtime error
test: debug line chart
Browse files- pages/1_📈_Plotting.py +9 -7
pages/1_📈_Plotting.py
CHANGED
@@ -50,12 +50,14 @@ if not df_base.empty:
|
|
50 |
st.session_state['df_plot'] = df_plot
|
51 |
with st.expander("See explanation"):
|
52 |
st.caption("The chart above shows...")
|
53 |
-
|
54 |
-
with col2:
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
|
|
|
|
60 |
elif df_base.empty and file:
|
61 |
st.warning("Consider running outlier detection to clean your data!", icon="⚠️")
|
|
|
50 |
st.session_state['df_plot'] = df_plot
|
51 |
with st.expander("See explanation"):
|
52 |
st.caption("The chart above shows...")
|
53 |
+
#
|
54 |
+
# with col2:
|
55 |
+
if 'df_plot' in list(st.session_state.keys()):
|
56 |
+
with st.spinner(f"Drawing plot to visualize {plot.lower()}"):
|
57 |
+
st.caption("Your visualization:")
|
58 |
+
st.dataframe(st.session_state.df_plot)
|
59 |
+
st.line_chart(st.session_state.df_plot)
|
60 |
+
st.dataframe(st.session_state.df_plot.transpose())
|
61 |
+
st.line_chart(st.session_state.df_plot.transpose())
|
62 |
elif df_base.empty and file:
|
63 |
st.warning("Consider running outlier detection to clean your data!", icon="⚠️")
|