numpy.ndarray.choose

方法

ndarray.choose(choices, out=None, mode='raise')

使用索引数组从一组选项中构造新数组。

参照 numpy.choose 完整文件。

参见

numpy.choose

等效函数