We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d95ad0 commit 662c591Copy full SHA for 662c591
WDoc/utils/loaders.py
@@ -919,9 +919,9 @@ def placeholder_replacer(row: pd.Series) -> Tuple[str, dict]:
919
920
pbar(desc="Formatting all cards")
921
notes["medias"] = {}
922
- texts, medias = notes.progress_apply(placeholder_replacer, axis=1)
923
- notes["text"] = texts
924
- notes["medias"] = medias
+ out = notes.progress_apply(placeholder_replacer, axis=1)
+ notes["text"] = [t[0] for t in out]
+ notes["medias"] = [t[1] for t in out]
925
926
notes["text"] = notes["text"].progress_apply(lambda x: x.strip())
927
notes = notes[notes["text"].ne('')] # remove empty text
0 commit comments