xtlyxt commited on
Commit
6eee572
·
verified ·
1 Parent(s): 798ae3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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