3 ms·
I tried numba. It isn't helping here. Yes, I used @jit(nopython=True). It does not compile pandas code.
by jfpuget 11y ago
I tried numba. It isn't helping here.
Yes, I used @jit(nopython=True). It does not compile pandas code.
- Lofkin 11y agoTry converting to a numpy array, executing the operations and converting back to pandas. More details here: http://pandas.pydata.org/pandas-docs/version/0.16.2/enhancingperf.html?highlight=numba http://pandas.pydata.org/pandas-docs/version/0.16.2/enhancin... Also they recently added support for array expressions and allocation so you should upgrade if you haven't already.