[Python] Show DataFrame as table in iPython Notebook

Discussão em 'Python' iniciado por Stack, Agosto 25, 2025.

  1. Stack

    Stack Membro Participativo

    I am using iPython notebook. When I do this:

    df


    I get a beautiful table with cells. However, if i do this:

    df1
    df2


    it doesn't print the first beautiful table. If I try this:

    print df1
    print df2


    It prints out the table in a different format that spills columns over and makes the output very tall.

    Is there a way to force it to print out the beautiful tables for both datasets?

    Continue reading...

Compartilhe esta Página