Michael Fenton
Results
2
comments of
Michael Fenton
Echoing what @cedricsimar said above, I used the following numba-compatible workaround (works with the `nb.jit(nopython=True)` decorator: ```@nb.jit(nopython=True) def rand_choice_nb(arr, prob): """ :param arr: A 1D numpy array of values to...
> > Echoing what @cedricsimar said above, I used the following numba-compatible workaround (works with the `nb.jit(nopython=True)` decorator: > > ``` > > def rand_choice_nb(arr, prob): > > """ >...