Then it probably should be `(data,) + inds + (2 * indptr,)`?
indptr is an array and cannot be added to a tuple.