Hi folks! The np.choose function raises a ValueError if called with more than 31 choices. This PR adds an alternate implementation np.extended_choose (which uses the base implementation) that supports any number of choices.
https://github.com/numpy/numpy/pull/20001 FYI, I needed this functionality for a mouse embryo microscopy tool I'm building. I'm attempting to contribute it because I thought it might be generally useful. All comments, complaints, or suggestions or code reviews appreciated. thanks! -- Aaron Watters
_______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com