- API reference
- Testing
- pandas.error...
pandas.errors.NumbaUtilError#
- exceptionpandas.errors.NumbaUtilError[source]#
Error raised for unsupported Numba engine routines.
Examples
>>>df=pd.DataFrame({"key":["a","a","b","b"],"data":[1,2,3,4]},...columns=["key","data"])>>>defincorrect_function(x):...returnsum(x)*2.7>>>df.groupby("key").agg(incorrect_function,engine="numba")Traceback (most recent call last):NumbaUtilError:The first 2 arguments to incorrect_functionmust be ['values', 'index']
On this page