[Python] Remove duplicated value inside in cell in python with multiple row

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

  1. Stack

    Stack Membro Participativo

    Hi Im cleaning bunch of emails and need help of removing data on each cell.In my data frame it looks like this

    I want to remove the duplicated values on each value on each cell with multiple row duplicates too.

    My data

    left​
    center​
    One​
    email1emailcom email2emailcom email3emailcom​
    Two​
    email1emailcom email15emailcom email12emailcom​
    Three​
    email15emailcom email16emailcom​

    Output

    left​
    center​
    One​
    email1emailcom email2emailcom email3emailcom​
    Two​
    email15emailcom email12emailcom​
    Three​
    email16emailcom​

    Continue reading...

Compartilhe esta Página