numpy.matrix.choose# method matrix.choose(choices, out=None, mode='raise')# 使用索引数组从一组选择中构建一个新数组. 有关完整文档,请参阅 numpy.choose . 参见 numpy.choose等效函数