We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
numpy.bool_
java.lang.Boolean
Describe the bug numpy.bool_ does not automatically convert to java.lang.Boolean.
To Reproduce
try (SharedInterpreter inter = new SharedInterpreter()) { inter.exec("import numpy as np"); Object pyBool = inter.getValue("True"); Object npyBool = inter.getValue("np.True_"); System.out.println(pyBool.getClass()); System.out.println(npyBool.getClass()); }
Output:
class java.lang.Boolean class jep.python.PyObject
Expected behavior
class java.lang.Boolean class java.lang.Boolean
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
numpy.bool_
does not automatically convert tojava.lang.Boolean
.To Reproduce
Output:
Expected behavior
Output:
The text was updated successfully, but these errors were encountered: