Is it possible to select a non consecutive subset of rows of a numpy sparse matrix?
For example, I might want rows 0, 2 and 3, like:
mat[[True, False, True, True, False]]
I've been googling for a while and it looks like doing something like this on a numpy sparse matrix directly is not possible. What would be the most reasonable way of doing this by converting to a different data structure, selecting the subset, and converting back to numpy sparse matrix?