Spaces:
Running
Running
Alejandro Cremades
commited on
Commit
·
00af7e3
1
Parent(s):
8c4ec6e
Fix FutureWarning
Browse files
Middle_School_Card_Search.py
CHANGED
@@ -53,8 +53,8 @@ st.write(f'## {_["search"]["title"][l]}')
|
|
53 |
st.write(_["search"]["instructions"][l])
|
54 |
|
55 |
mslist_df = pd.read_csv(mslist_path)
|
56 |
-
mslist_df
|
57 |
-
mslist_df
|
58 |
st.write(
|
59 |
f'**{mslist_df[mslist_df["banned"]==False].shape[0]}**{_["search"]["cards_are_legal"][l]}'
|
60 |
)
|
|
|
53 |
st.write(_["search"]["instructions"][l])
|
54 |
|
55 |
mslist_df = pd.read_csv(mslist_path)
|
56 |
+
mslist_df.fillna({"name_ja": ""}, inplace=True)
|
57 |
+
mslist_df.fillna({"text": ""}, inplace=True)
|
58 |
st.write(
|
59 |
f'**{mslist_df[mslist_df["banned"]==False].shape[0]}**{_["search"]["cards_are_legal"][l]}'
|
60 |
)
|