Latex symbols in pandas dataframe

妖精的绣舞 提交于 2021-01-28 19:06:47

问题


I have a dataframe that I'm gonna use some special latex symbol for its columns and indeces. Something like this :

pd.DataFrame({"a":[1,2,3],"b":[4,5,6]})

With a small difference that instead of a and b as the columns I want to have $\diamond$ and $\dagger$ symbols respectively. Any kind of help would be appreciated.

来源:https://stackoverflow.com/questions/53377554/latex-symbols-in-pandas-dataframe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!