Spaces:
Running
Running
Alejandro Cremades
commited on
Commit
•
bb33c75
1
Parent(s):
bc9151e
Sort list check results by legality (illegal first)
Browse files
pages/1_Check_Card_List.py
CHANGED
@@ -40,6 +40,7 @@ input_cards["legalnames"] = input_cards["cardname"].apply(
|
|
40 |
)
|
41 |
input_cards = input_cards.apply(lib.split_names_list, axis=1)
|
42 |
input_cards = input_cards.apply(lib.legal_to_checkmark, axis=1)
|
|
|
43 |
|
44 |
col2.write("##### Middle School legality")
|
45 |
if "English" in input_cards and "日本語" in input_cards:
|
|
|
40 |
)
|
41 |
input_cards = input_cards.apply(lib.split_names_list, axis=1)
|
42 |
input_cards = input_cards.apply(lib.legal_to_checkmark, axis=1)
|
43 |
+
input_cards = input_cards.sort_values(by="Legal", ascending=False)
|
44 |
|
45 |
col2.write("##### Middle School legality")
|
46 |
if "English" in input_cards and "日本語" in input_cards:
|