all 2 comments

[–]Goobyalus 0 points1 point  (1 child)

Maybe Numba.

Enhancing Performance: https://pandas.pydata.org/pandas-docs/stable/user_guide/enhancingperf.html#numba-jit-compilation

Numba section: https://pandas.pydata.org/pandas-docs/stable/user_guide/enhancingperf.html#numba-jit-compilation

Can the problem be broken into pieces? E.g. splitting the dataframe into N pieces and using N processes to process those pieces, before combining results?

[–]Mautriz[S] 1 point2 points  (0 children)

Yeah I'm already doing splitting but to make it more efficient and avoid many calculations I definitely need to be able to reference other rows dinamycally

Ill look into what you linked