Numba无法识别该字符串。我该如何纠正以下代码呢?谢谢!
@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