[Python] Multiple linear trends in the same dataframe

Discussão em 'Python' iniciado por Stack, Setembro 26, 2024.

  1. Stack

    Stack Membro Participativo

    Figure 1

    Figure 2

    I have the following dataframe in python (Fig 1) that defines two distinct linear trends (Fig 2, red and blue). How do I get python to automatically identify the different trends and group them into different dfs?

    Cluster methods (e.g., kmeans) don't seem to provide a good answer.

    Continue reading...

Compartilhe esta Página