Skip to content
Advertisement

Tag: jython

Jython error when trying to import a Python library

I have a simple python script that I want to call, the script has a demo pandas DataFrame which I want to return to my Java code. The error that it is throwing I know the error is being thrown when trying to import pandas but I don’t know why. Answer Jython does not work properly with pandas also for

Passing parameters from Java to Python using Jython

I am passing string values to a python script using Jython. In my program, I do this several times. However, during a test I am running to see if the class that sends the parameters is working properly, I see that the python script outputs the same string values as the initial inputs. Here is the Java class: Also, below

Advertisement