Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -394,7 +394,8 @@ def main():
|
|
| 394 |
|
| 395 |
df_triplet.color = df_triplet.color.astype("category")
|
| 396 |
df_triplet.color = df_triplet.color.cat.set_categories(color_order)
|
| 397 |
-
df_triplet
|
|
|
|
| 398 |
# Update the valid sheet name and reset index
|
| 399 |
# df_triplet.reset_index(drop=True, inplace=True)
|
| 400 |
|
|
|
|
| 394 |
|
| 395 |
df_triplet.color = df_triplet.color.astype("category")
|
| 396 |
df_triplet.color = df_triplet.color.cat.set_categories(color_order)
|
| 397 |
+
df_triplet.sort_values(["color"])
|
| 398 |
+
df_triplet.sort_values(by=response_col, ascending=True)
|
| 399 |
# Update the valid sheet name and reset index
|
| 400 |
# df_triplet.reset_index(drop=True, inplace=True)
|
| 401 |
|