1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] ewm_mean ignore nan [closed]

Discussão em 'Python' iniciado por Stack, Outubro 3, 2024 às 19:42.

  1. Stack

    Stack Membro Participativo

    Given a series with possible NaN values, how does one tell polars to ignore the NaN values? That is, treat the NaN value as if it weren't in the DataFrame, and use the same value for the mean as in the cell before the NaN value.

    To be 100% specific, this is the default behavior for panda's class of functions ewm and rolling.

    Continue reading...

Compartilhe esta Página