Spaces:
Running
Running
Alejandro Cremades
commited on
Commit
•
9863595
1
Parent(s):
0b21467
Finetune output order
Browse files
pages/1_Check_Card_List.py
CHANGED
@@ -49,8 +49,8 @@ for line in input_list.split("\n"):
|
|
49 |
if cardname is not None:
|
50 |
cardnames.append(remove_number_of_copies(cardname))
|
51 |
|
52 |
-
input_cards = pd.DataFrame(cardnames, columns=["
|
53 |
-
input_cards["legal"] = input_cards["
|
54 |
|
55 |
col2.write("##### Middle School legality")
|
56 |
-
col2.dataframe(input_cards, use_container_width=True)
|
|
|
49 |
if cardname is not None:
|
50 |
cardnames.append(remove_number_of_copies(cardname))
|
51 |
|
52 |
+
input_cards = pd.DataFrame(cardnames, columns=["cardname"])
|
53 |
+
input_cards["legal"] = input_cards["cardname"].apply(is_legal)
|
54 |
|
55 |
col2.write("##### Middle School legality")
|
56 |
+
col2.dataframe(input_cards[["legal", "cardname"]], use_container_width=True)
|