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.
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