I'm viewing a Pandas DataFrame in a Jupyter Notebook, and my DataFrame contains URL request strings that can be hundreds of characters long without any whitespace separating characters.
Pandas seems to only wrap text in a cell when there's whitespace, as shown on the attached picture:
If there isn't whitespace, the string is displayed in a single line, and if there isn't enough space my options are either to see a '...' or I have to set display.max_colwidth
to a huge number and now I have a hard-to-read table with a lot of scrolling.
Is there a way to force Pandas to wrap text, say, every 100 characters, regardless of whether there is whitespace?