diff --git a/frontend/main.py b/frontend/main.py index 3de03a5..79b9a64 100644 --- a/frontend/main.py +++ b/frontend/main.py @@ -4,7 +4,10 @@ import matplotlib.pyplot as plt import seaborn as sns from pandas.api.types import is_numeric_dtype -st.title("Project Miner") +st.set_page_config( + page_title="Project Miner", + layout="wide" +) ### Exploration uploaded_file = st.file_uploader("Upload your CSV file", type=["csv"]) @@ -24,8 +27,10 @@ if uploaded_file: st.header("Data Summary") st.subheader("Basic Information") - st.write(f"Number of Rows: {data.shape[0]}") - st.write(f"Number of Columns: {data.shape[1]}") + col1, col2 = st.columns(2) + col1.metric("Number of Rows", data.shape[0]) + col2.metric("Number of Columns", data.shape[1]) + st.write(f"Column Names: {list(data.columns)}") st.subheader("Missing Values by Column")