Corey Morris
commited on
Commit
•
e1345be
1
Parent(s):
246a992
stripping the whitespace from the input so that the filtering works with or without whitespace
Browse files
app.py
CHANGED
@@ -180,7 +180,7 @@ if search_query:
|
|
180 |
|
181 |
|
182 |
# Search box for columns
|
183 |
-
column_search_query = st.text_input("Filter by Column/Task Name:", "").split(',')
|
184 |
|
185 |
# Get the columns that contain the search query
|
186 |
matching_columns = [col for col in filtered_data.columns if any(query.lower() in col.lower() for query in column_search_query)]
|
|
|
180 |
|
181 |
|
182 |
# Search box for columns
|
183 |
+
column_search_query = st.text_input("Filter by Column/Task Name:", "").replace(" ", "").split(',')
|
184 |
|
185 |
# Get the columns that contain the search query
|
186 |
matching_columns = [col for col in filtered_data.columns if any(query.lower() in col.lower() for query in column_search_query)]
|