For the same reason as before, it's better to transform array-like format to `np.array`, csc or csr format here.