29 Sep
2021
29 Sep
'21
7:09 p.m.
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