DontPlanToEnd
commited on
Commit
•
e44778f
1
Parent(s):
6916654
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def update_table(df: pd.DataFrame, query: str, param_ranges: list) -> pd.DataFra
|
|
46 |
filtered_df = filtered_df[pd.concat(conditions, axis=1).any(axis=1)]
|
47 |
|
48 |
if query:
|
49 |
-
filtered_df = filtered_df[filtered_df.
|
50 |
|
51 |
return filtered_df[UGI_COLS] # Return only the columns defined in UGI_COLS
|
52 |
|
|
|
46 |
filtered_df = filtered_df[pd.concat(conditions, axis=1).any(axis=1)]
|
47 |
|
48 |
if query:
|
49 |
+
filtered_df = filtered_df[filtered_df['Model'].str.contains(query, case=False)]
|
50 |
|
51 |
return filtered_df[UGI_COLS] # Return only the columns defined in UGI_COLS
|
52 |
|