Closed trymzet closed 9 months ago
Thanks for mentioning. I don't want to force users to the lastest version of pandas though..
Related #54
Understandable, but maybe you can add a version check?
if pd.__version__.startswith("2"):
df = df.map(lambda s: replace_unescaped_pipes(s) if isinstance(s, str) else s)
else:
df = df.applymap(lambda s: replace_unescaped_pipes(s) if isinstance(s, str) else s)
Yeah that's a good solution. Normally I wouldn't worry about these kinds of warnings, but some people run mkdocs using --strict
mode
Just released v2.0.2 with this change!
Thanks for pushing this :)
This is caused by this line in
mkdocs_table_reader_plugin/markdown.py
.