Open Salonijain27 opened 4 years ago
The issue is we try to JIT compile the UDF via Numba and the UDF provided can't be properly lowered by Numba into a GPU kernel. It can't be lowered because the function being passed isn't a kernel, but is instead an array / column level function of median
.
We could make the typical Pandas way of apply
work via iteration, but it would be painfully slow in the case of a large number of windows of small sizes.
This issue has been marked rotten due to no recent activity in the past 90d. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed.
On running the apply function for
rolling
and trying to analyze array or any other variable type other than a single value I get the following error:TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Code to reproduce the error:
Note: I also tried using
t = np.median(x.values)
in the function On running the above code i get the following error:The same code runs on pandas and gives the following output: I/P:
O/P: