Numba does not recognize the string. How can I correct the following code? Thank you!
@nb.jit(nb.float64(nb.float64[:], nb.char[:]), nopython=True, cache=True)
def func(x, y='cont'):
"""
:param x: is np.array, x.shape=(n,)
:param y: is a string,
:return: a np.array of same shape as x
"""
return result