Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -238,6 +238,7 @@ def plot_users_disks(topk_to_show=5):
|
|
| 238 |
df["server_path"] = df["server_path"].apply(
|
| 239 |
lambda x: x.replace(".cs.ucla.edu", "")
|
| 240 |
)
|
|
|
|
| 241 |
df = df[df["path"] != "home"]
|
| 242 |
|
| 243 |
# Ensure numeric
|
|
@@ -322,7 +323,7 @@ def plot_users_disks(topk_to_show=5):
|
|
| 322 |
yaxis_title="server_path",
|
| 323 |
)
|
| 324 |
|
| 325 |
-
return fig,
|
| 326 |
|
| 327 |
|
| 328 |
##### PLOT ALL #####
|
|
|
|
| 238 |
df["server_path"] = df["server_path"].apply(
|
| 239 |
lambda x: x.replace(".cs.ucla.edu", "")
|
| 240 |
)
|
| 241 |
+
df_return = df.copy()
|
| 242 |
df = df[df["path"] != "home"]
|
| 243 |
|
| 244 |
# Ensure numeric
|
|
|
|
| 323 |
yaxis_title="server_path",
|
| 324 |
)
|
| 325 |
|
| 326 |
+
return fig, df_return
|
| 327 |
|
| 328 |
|
| 329 |
##### PLOT ALL #####
|