verif colonnes numeriques pour boite moustache
This commit is contained in:
@@ -5,14 +5,13 @@ import seaborn as sns
|
|||||||
|
|
||||||
st.title("Project Miner")
|
st.title("Project Miner")
|
||||||
|
|
||||||
# File uploader
|
### Exploration
|
||||||
uploaded_file = st.file_uploader("Upload your CSV file", type=["csv"])
|
uploaded_file = st.file_uploader("Upload your CSV file", type=["csv"])
|
||||||
|
|
||||||
if uploaded_file:
|
if uploaded_file:
|
||||||
data = pd.read_csv(uploaded_file)
|
data = pd.read_csv(uploaded_file)
|
||||||
st.success("File loaded successfully!")
|
st.success("File loaded successfully!")
|
||||||
|
|
||||||
# Data Preview
|
|
||||||
st.header("Data Preview")
|
st.header("Data Preview")
|
||||||
|
|
||||||
st.subheader("First 5 Rows")
|
st.subheader("First 5 Rows")
|
||||||
@@ -21,7 +20,6 @@ if uploaded_file:
|
|||||||
st.subheader("Last 5 Rows")
|
st.subheader("Last 5 Rows")
|
||||||
st.write(data.tail())
|
st.write(data.tail())
|
||||||
|
|
||||||
# Data Summary
|
|
||||||
st.header("Data Summary")
|
st.header("Data Summary")
|
||||||
|
|
||||||
st.subheader("Basic Information")
|
st.subheader("Basic Information")
|
||||||
@@ -36,10 +34,10 @@ if uploaded_file:
|
|||||||
st.subheader("Statistical Summary")
|
st.subheader("Statistical Summary")
|
||||||
st.write(data.describe())
|
st.write(data.describe())
|
||||||
|
|
||||||
# Data Visualization
|
### Visualization
|
||||||
|
|
||||||
st.header("Data Visualization")
|
st.header("Data Visualization")
|
||||||
|
|
||||||
# Histogram
|
|
||||||
st.subheader("Histogram")
|
st.subheader("Histogram")
|
||||||
column_to_plot = st.selectbox("Select Column for Histogram", data.columns)
|
column_to_plot = st.selectbox("Select Column for Histogram", data.columns)
|
||||||
if column_to_plot:
|
if column_to_plot:
|
||||||
@@ -50,7 +48,6 @@ if uploaded_file:
|
|||||||
ax.set_ylabel('Frequency')
|
ax.set_ylabel('Frequency')
|
||||||
st.pyplot(fig)
|
st.pyplot(fig)
|
||||||
|
|
||||||
# Boxplot
|
|
||||||
st.subheader("Boxplot")
|
st.subheader("Boxplot")
|
||||||
column_to_plot_box = st.selectbox("Select Column for Boxplot", data.columns, key="boxplot")
|
column_to_plot_box = st.selectbox("Select Column for Boxplot", data.columns, key="boxplot")
|
||||||
if column_to_plot_box:
|
if column_to_plot_box:
|
||||||
|
Reference in New Issue
Block a user