MAINT: lil_matrix directly converts to coo_matrix instead of going through csr