@albanD
The second line gives an error, btw I added an example at the end of my post because I am not able to relate how this will give me the masking I am trying to get.
>>> w_view.select(1, label) = 1
  File "<stdin>", line 1
SyntaxError: can't assign to function call