Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -104,6 +104,8 @@ if st.button("Generate DataFrame"):
|
|
104 |
plt.ylabel('Data Points')
|
105 |
st.pyplot(plt)
|
106 |
|
|
|
|
|
107 |
|
108 |
|
109 |
# Plotting the parallel coordinates plot
|
|
|
104 |
plt.ylabel('Data Points')
|
105 |
st.pyplot(plt)
|
106 |
|
107 |
+
# Normalize the data for better visualization
|
108 |
+
df_normalized = (df_emotions.iloc[:, :7] - df_emotions.iloc[:, :7].min()) / (df_emotions.iloc[:, :7].max() - df_emotions.iloc[:, :7].min())
|
109 |
|
110 |
|
111 |
# Plotting the parallel coordinates plot
|