laverdes commited on
Commit
6ad44a2
·
1 Parent(s): 80c206d

fix: range len

Browse files
Files changed (1) hide show
  1. pages/1_📈_Plotting.py +1 -1
pages/1_📈_Plotting.py CHANGED
@@ -45,7 +45,7 @@ if not df_base.empty:
45
  st.caption(f"Selected number of samples: {n_plot}")
46
  df_plot = [ini_list.strip('][').split(',') for ini_list in df_plot[feature]]
47
  df_plot = pd.DataFrame(df_plot)
48
- df_plot.columns = [str(column) for column in range(df_plot.columns)]
49
  st.caption(f"Columns of df_plot: {list(df_plot.columns)}")
50
  st.caption(f"Axes of df_plot: {df_plot.axes}")
51
  if 'df_plot' not in st.session_state:
 
45
  st.caption(f"Selected number of samples: {n_plot}")
46
  df_plot = [ini_list.strip('][').split(',') for ini_list in df_plot[feature]]
47
  df_plot = pd.DataFrame(df_plot)
48
+ df_plot.columns = [str(column) for column in range(len(df_plot.columns))]
49
  st.caption(f"Columns of df_plot: {list(df_plot.columns)}")
50
  st.caption(f"Axes of df_plot: {df_plot.axes}")
51
  if 'df_plot' not in st.session_state: