Can I run numpy and pandas with Jython

后端 未结 4 702
迷失自我
迷失自我 2020-12-01 21:10

We have some Java code we want to use with new code we plan to write in Python, hence our interest in using Jython. However we also want to use numpy and pandas libraries to

4条回答
  •  一向
    一向 (楼主)
    2020-12-01 21:59

    Not directly.

    One option which I've used in the past is to use jsonrpclib (which works for both) to communicate between python and jython. There's even a server builtin which makes things quite simple. You'll just need to figure out whether the gains of using numpy are worth the additional overhead.

提交回复
热议问题