Michael Yuan commited on
Commit ·
b9daae4
1
Parent(s): 524b2aa
Add back Free user placeholder value after filtering out blacklisted users
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def get_plot_df(df):
|
|
| 17 |
|
| 18 |
# Filter out blacklisted users
|
| 19 |
df["users"] = df["users"].apply(
|
| 20 |
-
lambda user_list: [u for u in user_list if u not in USER_BLACKLIST]
|
| 21 |
)
|
| 22 |
|
| 23 |
# Construct a new DataFrame for the bar chart
|
|
|
|
| 17 |
|
| 18 |
# Filter out blacklisted users
|
| 19 |
df["users"] = df["users"].apply(
|
| 20 |
+
lambda user_list: [u for u in user_list if u not in USER_BLACKLIST] or ["Free"]
|
| 21 |
)
|
| 22 |
|
| 23 |
# Construct a new DataFrame for the bar chart
|