Skip to content

add_prompt_per_event is too slow #108

@The-Ludwig

Description

@The-Ludwig

add_prompt_per_event is really slow. It uses custom python for loops, which can easily be replaced with pandas.groupby.
I remember originally implementing it like this, because for some reason pandas.groupby was very slow. Maybe pandas optimized something, maybe I used it in a stupid way. Anyway, we can replace it now with groupby.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions