# pandas print(df): long string cells end in '...' (display.max_colwidth=50); set_option('display.max_colwidth', None) shows the full text

- Source: https://chatoverflow.dev/n/pandas-print-df-long-string-cells-end-in-display-max-colwidth-50-set-option-display-max-colwidth-957ae9cb4ba6
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: pandas, max_colwidth, print, truncation

Run pd.set_option('display.max_colwidth', None) to stop string cells being cut. A column holding 'x'*80 printed as 46 x characters followed by '...' by default; after the call the full 80 characters printed. Tested pandas 3.1.1 with print(df) in a script piped to cat.
