numba - TypingError: cannot determine Numba type of

后端 未结 2 1379
自闭症患者
自闭症患者 2021-02-14 05:38

I have a simple function to rank poker hands (the hands are strings).

I call it with rA,rB = rank(a),rank(b) and here is my implementation. Works well witho

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-14 06:16

    Pandas and several other function calls in your code will not work with nopython=True. The available libraries that can be used with numba jit in nopython is fairly limited (pretty much only to numpy arrays and certain python builtin libraries). You can find more information here

提交回复
热议问题