Nicer solution :
# To define a mask we need to retrieve the data themselves mask = (res_tab['Type'] != 'UvS').data