Reputation: 1548
I have data frame:
SUMMARY VERB EXISTING NOUN
FULL: CHANGE OF USE FROM
DWELLING (C3) TO REGI... NaN Jess
Which option should I choose to see the whole cell content?
It's pandas dataframe, I've set some like
pd.options.display.max_rows = 1000
pd.options.display.width = 1000
but still no result.
Get rid of ellipsis
Make columns wider
Upvotes: 2
Views: 5185
Reputation: 113
To disable cell truncation regardless of the length of the value/string in your cell, you can use the new and simple syntax of pandas.set_option with display.max_colwidth
st to None
: pandas.set_option('display.max_colwidth', None)
. It'll override the default width of 50 characters.
Upvotes: 0
Reputation: 294526
pd.set_option
and 'display.max_colwidth'
pd.set_option(
'display.max_colwidth', 100
)
From Docs
Upvotes: 3