Hmm. We don't just need to remove the last value of `indptr`, we need to slice off all values of indptr equal to the last (i.e. all empty rows at the end of the matrix). Is there a nice way to do that?

Is the code obfuscation going to be worthwhile?