Hi,
I passes spark DataSet<Row> to a python function, but when I call the map method in the python function, I got <class 'NameError'>: No such Method.
The code in Java is as below:
Interpreter interp = new SharedInterpreter() ;
interp.exec("import example_df");
interp.set("df", df);
interp.exec("x = example_df.callWithDF(df)");
How to solve it?
Thanks,
Guofeng