If you are using pandas, for example, you can use an option context to
temporarily display all rows and columns of the dataframe (
https://stackoverflow.com/questions/11707586/how-do-i-expand-the-output-display-to-see-more-columns-of-a-pandas-dataframe
):

with pd.option_context('display.max_rows', None, 'display.max_columns', None):
    print (df)

Or you can set it permanently.

Spyder also has a Variable Explorer tab if you assign whatever output you
want to a variable. Double-clicking on the variable will expand a popup
allowing you to scroll through all of the values.

Of course, the exact utility of these options depends on your data
dimensionality and class (e.g., array, dataframe, dict, etc.).

[image: image.png]
[image: image.png]


On Tue, Aug 30, 2022 at 11:59 AM Chad Sellers <chadnsell...@gmail.com>
wrote:

> Hi,
>
> I'm trying to expand simple output in my console. I'm using Spyder as my
> IDE for basic python dev - pivot tables and other date mining exercises.
> I'm getting frustrated when I cannot get my output to fully expand in the
> IPython console. When the data that I am retrieving is longer than a few
> lines it gets cut off. How do I fix this to show the entirety of the
> results?
>
> Any help is appreciated!!
>
>
> Thanks,
> Chad
>
> --
> You received this message because you are subscribed to the Google Groups
> "spyder" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to spyderlib+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/spyderlib/758df682-4843-449a-b873-758e7e528213n%40googlegroups.com
> <https://groups.google.com/d/msgid/spyderlib/758df682-4843-449a-b873-758e7e528213n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to spyderlib+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/CAJKCVKZXVTQhOqrC9EPSsYLWrnVZUAMWvF7db%2Bd5U4FgseMmBw%40mail.gmail.com.

Reply via email to