3 ms·
Try 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
by Lofkin 11y ago
Try 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.