Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How do I display more rows of a Dataframe in Jupyter Notebook?

Currently my notebook is showing rows like
this. However, I see other people notebooks showing like
this, despite of mine having the max rows set to 60.

What do I need to do to make Jupyter Notebook display more rows?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

This code will not work on jupiter!!!

pd.set_option('display.max_rows', 500)
data1.sex

if you want to see all rows :

pd.options.display.max_rows = None
data1.sex

If you just want to see 60 rows:

pd.set_option('display.max_rows', 60)
data1.sex.head(60)
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading