When I am writing my function with pure python or NumPy, Dask works fine. However, as I change the function definition (compute intensive with string) to Cython language it says