[Python] Append two similar file names into one [closed]

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

  1. Stack

    Stack Membro Participativo

    i have list of csv files from the path and i want to append the 2 similar files

    [01.xyz_1.csv,
    01.xyz_2.csv,
    02.abc_1.csv,
    02.abc_2.csv,
    03.qwe_1.csv,
    03.qwe_2.csv
    .
    .
    ]


    append first 2 file into dataframe "01.xyz"
    append 02.abc_1.csv with 02.abc_2.csv file into dataframe "02.abc"
    and 03.qwe_1.csv with 03.qwe_2.csv file into dataframe "03.qwe"
    ..
    ..

    Thanks in advance

    Continue reading...

Compartilhe esta Página