[Python] Why are my Pandas dataframe columns are being displayed on top of one another instead...

Discussão em 'Python' iniciado por Stack, Maio 19, 2025.

  1. Stack

    Stack Membro Participativo

    I am working with 99 different columns and want to group related topics together for future analysis. However, when I print my new group the columns are not displayed on the same level. They will be stacked on top of one another. It doesn't happen with all columns though. I have tried %pprint but that didn't do anything.

    The image below shows the columns I want to call, the other 2 columns are below the first 2 columns. Both have their column name followed by a \ and with the next column displayed at the bottom of the previous column.

    [​IMG]

    Continue reading...

Compartilhe esta Página