Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -468,10 +468,6 @@ if st.session_state['parsed']:
|
|
468 |
'NORP':'Political or Religious Groups',
|
469 |
'LOC':'Non Political Location'})
|
470 |
|
471 |
-
# Replace name with zeroth element of related to
|
472 |
-
if df_to_st['Related to'].any():
|
473 |
-
df_to_st['Name'] = df_to_st['Related to'].apply(lambda x : x[0])
|
474 |
-
|
475 |
gb = GridOptionsBuilder.from_dataframe(df_to_st)
|
476 |
gb.configure_pagination(paginationAutoPageSize=True) #Add pagination
|
477 |
gb.configure_side_bar() #Add a sidebar
|
|
|
468 |
'NORP':'Political or Religious Groups',
|
469 |
'LOC':'Non Political Location'})
|
470 |
|
|
|
|
|
|
|
|
|
471 |
gb = GridOptionsBuilder.from_dataframe(df_to_st)
|
472 |
gb.configure_pagination(paginationAutoPageSize=True) #Add pagination
|
473 |
gb.configure_side_bar() #Add a sidebar
|