column-width

How do I expand the output display to see more columns of a pandas DataFrame?

你说的曾经没有我的故事 提交于 2019-11-25 22:32:51
问题 Is there a way to widen the display of output in either interactive or script-execution mode? Specifically, I am using the describe() function on a pandas DataFrame . When the DataFrame is 5 columns (labels) wide, I get the descriptive statistics that I want. However, if the DataFrame has any more columns, the statistics are suppressed and something like this is returned: >> Index: 8 entries, count to max >> Data columns: >> x1 8 non-null values >> x2 8 non-null values >> x3 8 non-null values