Leockl
Leockl

Reputation: 2156

How to display whole table in the output in Jupyter Notebook

After running my code in Jupyter Notebook to output a table which is really big, the middle part of the table was not displayed, it's showing as dots inbetween rows no. 4 and 79 (see attachment below). How do I get Jupyter Notebook to display the whole table? I am using Anaconda. Many thanks.

jupyter tables

Upvotes: 6

Views: 21527

Answers (1)

instinct246
instinct246

Reputation: 1002

You can add below two lines to see all the rows /columns

pd.set_option('display.max_columns', n) #replace n with the number of columns you want to see completely
pd.set_option('display.max_rows', n) #replace n with the number of rows you want to see completely

Upvotes: 10

Related Questions