[Python] Normalize columns(a, b, c) by subtracting its mean value and dividing by its standard...

Discussão em 'Python' iniciado por Stack, Junho 16, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to normalize columns(a, b, c) by subtracting its mean value and dividing by its standard deviation, and assign the results to three new columns. then, I need to assign the results to three new columns called a_norm, b_norm, and c_norm, respectively.

    I was thinking on using df.assign() for creating new columns, but I haven't found a way to put everything together.

    Continue reading...

Compartilhe esta Página