categorical data type
Browse files- 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',
|
425 |
-
'Sector Label','
|
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={
|