I can't get the following code to jit using numba. Is there an alternative method? I want the result to be an array of strings. The code runs exactly as expected without the numba jit.
from numba import jit
import numpy as np
@jit(nopython=True)
def test():
chars = np.array([[97, 98, 99, 0, 0],[99, 98, 97, 0, 0]], dtype=np.uint8)
return chars.view(dtype='<S5').astype(str).squeeze()
test()