update visualisation
This commit is contained in:
@@ -4,7 +4,10 @@ import matplotlib.pyplot as plt
|
|||||||
import seaborn as sns
|
import seaborn as sns
|
||||||
from pandas.api.types import is_numeric_dtype
|
from pandas.api.types import is_numeric_dtype
|
||||||
|
|
||||||
st.title("Project Miner")
|
st.set_page_config(
|
||||||
|
page_title="Project Miner",
|
||||||
|
layout="wide"
|
||||||
|
)
|
||||||
|
|
||||||
### Exploration
|
### Exploration
|
||||||
uploaded_file = st.file_uploader("Upload your CSV file", type=["csv"])
|
uploaded_file = st.file_uploader("Upload your CSV file", type=["csv"])
|
||||||
@@ -24,8 +27,10 @@ if uploaded_file:
|
|||||||
st.header("Data Summary")
|
st.header("Data Summary")
|
||||||
|
|
||||||
st.subheader("Basic Information")
|
st.subheader("Basic Information")
|
||||||
st.write(f"Number of Rows: {data.shape[0]}")
|
col1, col2 = st.columns(2)
|
||||||
st.write(f"Number of Columns: {data.shape[1]}")
|
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.write(f"Column Names: {list(data.columns)}")
|
||||||
|
|
||||||
st.subheader("Missing Values by Column")
|
st.subheader("Missing Values by Column")
|
||||||
|
Reference in New Issue
Block a user