8 lines
303 B
Python
8 lines
303 B
Python
from jeputils import *
|
|
|
|
data, dims = [1,2,3,4,5,6,7,8,9,0], [2,5]
|
|
array = to_npa(data, dims,'d') #Auxiliary function to create numpy arrays from lists or java arrays.
|
|
ret = call_jep("test/cpython", "calc", [array,])
|
|
print ret.getDimensions(),ret.getData()
|
|
|
|
ret = call_jep("test/cpython", "test_pandas") |