I want to pass the matlab data to python to create a csc sparse matrix using python language in matlab. now I met a problem, can you help me? Thank you very much. my code in matlab as follow, I met the data type problem.
iK=[0 2 2 0 1 2];
jK=[0 0 1 2 2 2];
sK=[1 2 3 4 5 6];
A = py.scipy.sparse.csc_matrix(data,ir,jr);
when I came to create the csc_matrix, then python would tell me the data type is not right. could you help me correct it? thank you very much.