[IPython-dev] Width of pandas DataFrames in IPython
Sat Sep 7 08:02:39 CDT 2013
I think what you are looking for is the print options. Try setting the
max_columns for a higher number.
Documentation on set_option.
Here's a similar StackOverflow question which also mentions the terminal
size. Note, they use a depricated method, `set_printoptions'.
On Sat, Sep 7, 2013 at 7:20 AM, FernandoSaldanha <firstname.lastname@example.org> wrote:
> I am exploring IPython under Spyder and I found that it prints pandas
> DataFrames in nicely formatted tables. Much better than the normal
> which has the column names misaligned with the columns. Two questions:
> 1) When the number of columns is more than just a few IPython does not
> the contents, it just shows a summary. This happens even if there is plenty
> of real estate to show more columns. Is there a way to tell IPython to
> increase the number of columns to be displayed?
> 2) In Spyder one can choose to have IPython show graphics inline or in
> separate windows. This is a very nice feature. Sometimes I like to have
> graphs in separate windows so I don't have to scroll back to see them. Can
> one do the same with the tables that display pandas DataFrames?
> Thanks for the help.
> View this message in context:
> Sent from the IPython - Development mailing list archive at Nabble.com.
> IPython-dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev