Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,8 @@ import numpy as np
|
|
4 |
import plotly.express as px
|
5 |
import plotly.graph_objects as go
|
6 |
from scipy.stats import norm, t
|
|
|
|
|
7 |
|
8 |
def sorting(df):
|
9 |
df.index = list(map(float, df.index))
|
@@ -826,7 +828,6 @@ if uploaded_file:
|
|
826 |
st.subheader("Cluster Table")
|
827 |
st.dataframe(df_clean)
|
828 |
|
829 |
-
|
830 |
elif main_option == "Hypothesis test":
|
831 |
st.header("Hypothesis Testing")
|
832 |
hypothesis_option = st.selectbox("Please select the type of hypothesis test:", ["Z test", "T test", "Chi-Square test", "ANOVA test"])
|
|
|
4 |
import plotly.express as px
|
5 |
import plotly.graph_objects as go
|
6 |
from scipy.stats import norm, t
|
7 |
+
from scipy.cluster.hierarchy import linkage, dendrogram, fcluster
|
8 |
+
import plotly.figure_factory as ff
|
9 |
|
10 |
def sorting(df):
|
11 |
df.index = list(map(float, df.index))
|
|
|
828 |
st.subheader("Cluster Table")
|
829 |
st.dataframe(df_clean)
|
830 |
|
|
|
831 |
elif main_option == "Hypothesis test":
|
832 |
st.header("Hypothesis Testing")
|
833 |
hypothesis_option = st.selectbox("Please select the type of hypothesis test:", ["Z test", "T test", "Chi-Square test", "ANOVA test"])
|