@staticmethod<EOL><INDENT>def list2csr(x):<DEDENT>
return csr_matrix((np.array(x), np.array(range(<NUM_LIT:0>, len(x))), np.array([<NUM_LIT:0>, len(x)])))<EOL>
Convert list to a scipy.sparse.csr_matrix
:param x: list
:return:  csr_matrix with 1 row