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 to display all print result in Pycharm?

Whenever I run a huge file that contains several observations (i.e, columns), Pycharm does not show all the observations. The below picture shows only 2 observations whereas I need to display all observations (in my case, there are 10 observations).

How do I solve this?

Screebhot Pycharm Run Tab

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 :

As described here, you can increase the display width and the amount of columns:

import pandas as pd    
pd.set_option('display.width', 400)
pd.set_option('display.max_columns', 10)
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