結果 : convert boolean array to integer python