laverdes commited on
Commit
f5d698f
·
1 Parent(s): 7aa1957

fix: df_plot has no features after transposing

Browse files
Files changed (1) hide show
  1. pages/1_📈_Plotting.py +1 -1
pages/1_📈_Plotting.py CHANGED
@@ -49,7 +49,7 @@ if not df_base.empty:
49
  st.snow()
50
  feature = "relative_pupil_dilation"
51
  df_plot = df_base[0:n_plot][feature].transpose()
52
- df_plot[feature] = [ini_list.strip('][').split(',') for ini_list in df_plot[feature]]
53
  st.caption("The visualized data:")
54
  st.dataframe(df_plot)
55
  if 'df_plot' not in st.session_state:
 
49
  st.snow()
50
  feature = "relative_pupil_dilation"
51
  df_plot = df_base[0:n_plot][feature].transpose()
52
+ df_plot[0] = [ini_list.strip('][').split(',') for ini_list in df_plot[0]]
53
  st.caption("The visualized data:")
54
  st.dataframe(df_plot)
55
  if 'df_plot' not in st.session_state: