[Numpy-discussion] np.select use case

Graeme B. Bell grb at skogoglandskap.no
Thu Jul 18 03:32:31 EDT 2013


Quick question:

Can anyone think of a realistic/real-world use case for array broadcasting and np.select, (other than scalar to ndarray broadcasting)? 
e.g. differently shaped arrays with matching lower dimensions.

(I don't know if a use case even exists).

Graeme.


More information about the NumPy-Discussion mailing list