• Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    4 days ago

    also python has built-ins for sum, min, max, and math.prod - which account for a lot of use cases of reduce in a more readable way.

    But if you’re really crunching numbers, it’s just better to go with something like numpy, pandas, polars, …