[Python] How do I perform a rolling mean across a 2D array?

Discussão em 'Python' iniciado por Stack, Fevereiro 24, 2025.

  1. Stack

    Stack Membro Participativo

    For example: I have an array of shape say [6000,3] and I want to find the mean of each [3,3] section and output an array of size [5997]? If I can do this without looping through the array that would be fantastic!

    Continue reading...

Compartilhe esta Página