Jon Solow commited on
Commit
9ca89ad
·
1 Parent(s): 04e61c3

Fix for when using custom filters to get correct height

Browse files
Files changed (1) hide show
  1. src/pages/1_Keepers.py +2 -2
src/pages/1_Keepers.py CHANGED
@@ -72,9 +72,9 @@ def filtered_keeper_dataframe(data: pd.DataFrame, teams_list: list[str]):
72
  ]
73
  )
74
 
75
- filtered_data = data.loc[teams_filter, show_columns]
76
  st.dataframe(
77
- filter_dataframe(filtered_data),
78
  hide_index=True,
79
  height=35 * (len(filtered_data) + 1) + 12,
80
  use_container_width=True,
 
72
  ]
73
  )
74
 
75
+ filtered_data = filter_dataframe(data.loc[teams_filter, show_columns])
76
  st.dataframe(
77
+ filtered_data,
78
  hide_index=True,
79
  height=35 * (len(filtered_data) + 1) + 12,
80
  use_container_width=True,