Skip to content
New issue

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

How to return a python numpy array to the Java side? The return type is java.util.List #32

Open
merit109 opened this issue Mar 27, 2023 · 2 comments

Comments

@merit109
Copy link

python function:

train_data = np.array(df)
return train_data

java invoke return type:
pemja.core.object.PyObject

How to return a python null array to the Java side? The return type is java.util.List

@merit109 merit109 changed the title How to return a python null array to the Java side? The return type is java.util.List How to return a python numpy array to the Java side? The return type is java.util.List Mar 27, 2023
@HuangXingBo
Copy link
Collaborator

The java side is not capable of processing python data structures, so it will convert Python objects into Java. Do you have any requirements for processing python objects on the java side? @merit109

@DarkMagicianss
Copy link

@HuangXingBo If support Array Or Map Or Array trans between Python and Java?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants