[Python] How can I find the average of every next 4 values in a single column (Dataframe) and...

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

  1. Stack

    Stack Membro Participativo

    [[​IMG]

    This is the data where I need to find the average prices of Germany/luxemborg for every 4 hours as they are given in every hour and store it into a dataframe. I am having a lot of troubles in this because even after averaging it the new column would have less indexes than the original (8760) prbably something around 2200. Please help me :(

    Continue reading...

Compartilhe esta Página