Spaces:
Runtime error
Runtime error
fix: df_plot has no features after transposing
Browse files- 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[
|
| 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:
|