[Python] Pandas dataframe: remove rows found in other dataframe/series

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

  1. Stack

    Stack Membro Participativo

    I have a pandas dataframe where i want to obtain the unique 'task type' (column) not executed by the 'users' (column) found in the 'leavers' list.

    Right now i can identitfy the tasks carried out by the leavers, but i'm stuck at how to substrac those task types from the main dataframe.

    df_leavers = df.loc[df['Assignee+'].isin(leavers)]


    Some help would be much appriciated. Sorry if it is a dumb question but i' pretty new to pandas and i can not find the answer anywhere else.

    Continue reading...

Compartilhe esta Página