Niharmahesh commited on
Commit
5ee677a
·
verified ·
1 Parent(s): 0f28f4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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):