I am trying to display a DataFrame with a mutiline text column (eg code snippet) in a Jupyter notebook:
IPython.display.display(df)
Unfortunatelly this does not respect the newlines in the text and turns each cell into a wall of text.
How can I display a dataframe with linebreaks within text cells preserved?