ppsingh commited on
Commit
4ffbfe7
1 Parent(s): 27f464d

categorical data type

Browse files
Files changed (1) hide show
  1. appStore/policyaction.py +2 -2
appStore/policyaction.py CHANGED
@@ -421,8 +421,8 @@ def filter_dataframe_policy(df: pd.DataFrame) -> pd.DataFrame:
421
  if user_text_input:
422
  df = df[df[column].str.contains(user_text_input)]
423
  df['keep'] = True
424
- df = df[['keep','text','Policies_Plans Score','Conditional Label',
425
- 'Sector Label','Adapt-Mitig Label','Indicator Label','page']]
426
  df = st.data_editor(
427
  df,
428
  column_config={
 
421
  if user_text_input:
422
  df = df[df[column].str.contains(user_text_input)]
423
  df['keep'] = True
424
+ df = df[['keep','text','Policies_Plans Score',
425
+ 'Sector Label','page']]
426
  df = st.data_editor(
427
  df,
428
  column_config={