Spaces:
Runtime error
Runtime error
feat: page layout wide and warning message
Browse files- pages/1_๐_Plotting.py +5 -2
pages/1_๐_Plotting.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
|
4 |
-
|
5 |
st.header("Plotting Time-Series Data")
|
6 |
st.markdown("Users can load their time-series data in **.csv** format and select a particular feature and plot-type to visualize it.\
|
7 |
Go ahead and use the sidebar on the left to upload your data files and to start visualizing it!")
|
@@ -50,4 +50,7 @@ if n:
|
|
50 |
slider_range = list(range(n))
|
51 |
n_plot = st.slider("How many samples do you want to plot in the same graph", slider_range[0]+1, slider_range[-1]+1, 5)
|
52 |
st.write(f"Action: {plot} using {n_plot} samples")
|
53 |
-
st.button("Plot now! ๐")
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
|
4 |
+
st. set_page_config(layout="wide")
|
5 |
st.header("Plotting Time-Series Data")
|
6 |
st.markdown("Users can load their time-series data in **.csv** format and select a particular feature and plot-type to visualize it.\
|
7 |
Go ahead and use the sidebar on the left to upload your data files and to start visualizing it!")
|
|
|
50 |
slider_range = list(range(n))
|
51 |
n_plot = st.slider("How many samples do you want to plot in the same graph", slider_range[0]+1, slider_range[-1]+1, 5)
|
52 |
st.write(f"Action: {plot} using {n_plot} samples")
|
53 |
+
st.button("Plot now! ๐")
|
54 |
+
|
55 |
+
if not df_base.empty:
|
56 |
+
st.warning("Consider running outlier detection to clean your data!", icon="โ ๏ธ")
|