[Python] numpy array: replace nan values with average of columns

Discussão em 'Python' iniciado por Stack, Outubro 24, 2024.

  1. Stack

    Stack Membro Participativo

    I've got a numpy array filled mostly with real numbers, but there is a few nan values in it as well.

    How can I replace the nans with averages of columns where they are?

    Continue reading...

Compartilhe esta Página