What Is Csr_matrix.a?
I've recently seen something like this: import numpy as np row = np.array([0, 0, 1, 2, 2, 2]) col = np.array([0, 2, 2, 0, 1, 2]) data = np.array([1, 2, 3, 4, 5, 6]) from scipy.spar
Solution 1:
the .A is not from
crs_matrix, it is from numpy
:
https://docs.scipy.org/doc/numpy/reference/generated/numpy.matrix.A.html
Post a Comment for "What Is Csr_matrix.a?"