[Python] drop.na code doesn't show up when using print(data_frame) [duplicate]

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

  1. Stack

    Stack Membro Participativo

    I wanna delete missing values from a certain column:

    #deleting rows with missing values
    data_excel.dropna(subset=['Budget Betrag'])


    then I wanna check whether it's working with

    print(data_excel)


    But with print(data_excel) the drop.na code doesn't show up.

    I just see the changes when i use print(data_excel.dropna(subset=['Budget Betrag']))

    What am I doing wrong? I also deleted columns before and i could use the print(data_excel) properly.

    Continue reading...

Compartilhe esta Página