Make DataFrame.to_html output full content · Issue #17004 · pandas-dev/pandas (original) (raw)

Make DataFrame.to_html output full contents by default. Or at least add option to enable outputting full content.

Code Sample

import pandas as pd df = pd.DataFrame({ 'id': [1, 2, 3, 4, 5], 'link': ['http://a_super_loooooooooooooooooooooooooooooooong_link.com', '', '', '', ''] }) df.to_html('df.html')

Problem description

By default, pandas uses a short representation of a very long string. However, when outputting to HTML, I think users expect the full content to be outputted rather than a short representation.

Expected Output

Full content output is expected. Or least there should be an option to enable outputting full content.