numpy.ndarray.choose# 方法 ndarray.choose(choices, out=None, mode='raise')# 使用索引陣列從一組 choices 建立新陣列。 請參閱 numpy.choose 以取得完整文件。 另請參閱 numpy.choose等效函數