Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -154,7 +154,7 @@ def display_dashboard(df):
|
|
154 |
fig = create_chart(top_job_titles, top_job_titles.index, top_job_titles.values, "Top 20 Job Titles", ['#59a14f'])
|
155 |
st.plotly_chart(fig, use_container_width=True)
|
156 |
@st.cache_data
|
157 |
-
def filter_dataframe(df, companies, locations, job_types):
|
158 |
filtered_df = df
|
159 |
if companies:
|
160 |
filtered_df = filtered_df[filtered_df['company'].isin(companies)]
|
|
|
154 |
fig = create_chart(top_job_titles, top_job_titles.index, top_job_titles.values, "Top 20 Job Titles", ['#59a14f'])
|
155 |
st.plotly_chart(fig, use_container_width=True)
|
156 |
@st.cache_data
|
157 |
+
def filter_dataframe(df, companies, locations, job_types,Role_Name):
|
158 |
filtered_df = df
|
159 |
if companies:
|
160 |
filtered_df = filtered_df[filtered_df['company'].isin(companies)]
|