結果 : how to create a boolean mask in python