このページについて
いくつか自分で調べた機能を記述していきます。
特定条件の部分を抜き出す
Trueのみを抜き出す。Falseは否定で対応する。
array[a == b,:]
array[a != b,:]
その他評価式が使えます。
参考サイト
python の配列。要素をまとめて論理演算。not、and、or、xor
NumPy配列ndarrayから条件を満たす要素・行・列を抽出、削除
numpyの配列の大きさだけForを回す
for i in range(array.shape[0]):