4 ms·
@njit on any for loops w/ numpy that require a recursive calculation
by bbstats 2y ago
@njit on any for loops w/ numpy that require a recursive calculation
- juujian 2y agoSo many times I have been able to pull something out of my behind that got rid of the recursive element to vectorize stuff. Usually involves ranks and groups.