alibaba / pemja

Apache License 2.0
92 stars 26 forks source link

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

Open merit109 opened 1 year ago

merit109 commented 1 year ago

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

HuangXingBo commented 1 year ago

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 commented 7 months ago

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