我正在 Jupyter 中读取 Excel 文件,其中包含收入数据,例如2,500 美元至 4,999 美元。渲染输出正在返回:
如何避免这种格式?
最佳答案
在 pandas>=0.23.0
中,您可以阻止 MathJax 渲染 DataFrame 中发现的感知到的 LaTeX。这是通过以下方式实现的:
import pandas as pd
pd.options.display.html.use_mathjax = False
关于jupyter - 如何避免Jupyter输出中$符号的markdown排版?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39948861/