Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -162,6 +162,8 @@ def filter_dataframe(df, companies, locations, job_types):
|
|
162 |
filtered_df = filtered_df[filtered_df['location'].isin(locations)]
|
163 |
if job_types:
|
164 |
filtered_df = filtered_df[filtered_df['job_type'].isin(job_types)]
|
|
|
|
|
165 |
return filtered_df
|
166 |
|
167 |
def display_data_explorer(df):
|
|
|
162 |
filtered_df = filtered_df[filtered_df['location'].isin(locations)]
|
163 |
if job_types:
|
164 |
filtered_df = filtered_df[filtered_df['job_type'].isin(job_types)]
|
165 |
+
if Role_Name:
|
166 |
+
filtered_df = filtered_df[filtered_df['title'].isin(job_types)]
|
167 |
return filtered_df
|
168 |
|
169 |
def display_data_explorer(df):
|