You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see in the follwing image, how in Jupyter Lab the column names of a DataFrame can be rendered as LaTeX strings, which improves readability for physics datasets a lot.
I was frequent user of these LaTeX strings before using Panel, and would really like to see this added in the future. Thanks!
You can see in the follwing image, how in Jupyter Lab the column names of a DataFrame can be rendered as LaTeX strings, which improves readability for physics datasets a lot.
I was frequent user of these LaTeX strings before using Panel, and would really like to see this added in the future. Thanks!
Here is the Code:
import pandas as pd
import panel as pn
pn.extension()
pn.extension('mathjax', 'katex')
df = pd.DataFrame([[1,2,3,4]], columns=[r'$$\text{Mean } x$$', r'$$\frac{\partial x}{\partial t}$$', r'$$\frac{\partial x}{\partial y}$$', r'$$\frac{\partial x}{\partial z}$$'])
pn.pane.DataFrame(df)
The text was updated successfully, but these errors were encountered: