[Python] mix two dataframes with every second row

Discussão em 'Python' iniciado por Stack, Março 9, 2025.

  1. Stack

    Stack Membro Participativo

    I have two dataframes that I want to mix togther first two of the second table go to the every second two of, so like this:

    First table Second table
    column_1 column_1
    1 5
    2 6
    3 7
    4 8


    And then the new table will be like this:

    new table
    column_1
    1
    2
    5
    6
    3
    4
    7
    8


    Is there easy way to do this with pandas?

    Continue reading...

Compartilhe esta Página