`test1` is presumbly the python way to apply the rules, where `test2` is numpy way. Would be helpeful to see both versions and compare.
test1is presumbly the python way to apply the rules, wheretest2is numpy way. Would be helpeful to see both versions and compare.