Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -580,11 +580,14 @@ st.image("Insightzen.png", width=600)
|
|
580 |
df = upload_and_select_dataframe()
|
581 |
|
582 |
try:
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
|
|
|
|
|
|
588 |
|
589 |
main_option = st.selectbox("Please select an option:", ["Select a Task","Tabulation", "Funnel Analysis", "Segmentation Analysis", "Hypothesis test", "Machine Learning", "Sample Size Calculator" ,"Coding", "AI Chat"])
|
590 |
|
|
|
580 |
df = upload_and_select_dataframe()
|
581 |
|
582 |
try:
|
583 |
+
try:
|
584 |
+
st.subheader("Data preview")
|
585 |
+
st.dataframe(df.head())
|
586 |
+
|
587 |
+
cols = edit_strings(df.columns)
|
588 |
+
cols = sorted(list(set(cols)))
|
589 |
+
except:
|
590 |
+
pass
|
591 |
|
592 |
main_option = st.selectbox("Please select an option:", ["Select a Task","Tabulation", "Funnel Analysis", "Segmentation Analysis", "Hypothesis test", "Machine Learning", "Sample Size Calculator" ,"Coding", "AI Chat"])
|
593 |
|