Spaces:
Runtime error
Runtime error
test: str for int casting
Browse files- pages/1_📈_Plotting.py +2 -2
pages/1_📈_Plotting.py
CHANGED
@@ -57,9 +57,9 @@ if 'df_plot' in list(st.session_state.keys()):
|
|
57 |
st.caption("Your visualization:")
|
58 |
st.caption("df_plot:")
|
59 |
st.dataframe(st.session_state.df_plot)
|
60 |
-
st.line_chart(st.session_state.df_plot, y=[
|
61 |
st.caption("df_plot transposed:")
|
62 |
st.dataframe(st.session_state.df_plot.transpose())
|
63 |
-
st.line_chart(st.session_state.df_plot.transpose(), y=[
|
64 |
elif df_base.empty and file:
|
65 |
st.warning("Consider running outlier detection to clean your data!", icon="⚠️")
|
|
|
57 |
st.caption("Your visualization:")
|
58 |
st.caption("df_plot:")
|
59 |
st.dataframe(st.session_state.df_plot)
|
60 |
+
st.line_chart(st.session_state.df_plot, y=[int(v) for v in list(df_plot.columns)])
|
61 |
st.caption("df_plot transposed:")
|
62 |
st.dataframe(st.session_state.df_plot.transpose())
|
63 |
+
st.line_chart(st.session_state.df_plot.transpose(), y=[int(v) for v in list(df_plot.transpose().columns)])
|
64 |
elif df_base.empty and file:
|
65 |
st.warning("Consider running outlier detection to clean your data!", icon="⚠️")
|