-
Hi, I have seen that boolean indexing isn't yet implemented. Particularly, I have seen @awni's workaround recommandation ( #246) on using Here is our usecase :
Is there an alternative to using numpy or worse a listcomp ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
That's a tricky one 🤔 . Of course we need to fix the where to handle the Just curious why does |
Beta Was this translation helpful? Give feedback.
@Kheims It shouldn't be too bad to precompute the non-zero degree indices from a perf standpoint. I know it is not that elegant.
A slightly hacky solution could be to do something like: