Is it possible to use set operation for a 2D array in python. For example,
>>> a = [['a', 's'], 
         ['a', 'b'], 
         ['a', 's']]
>>> print(set(a))
Traceback (most recent call last):                                                                                                               
File "main.py", line 5, in <module>                                                                                                            
print(set(a))                                                                                                                                
TypeError: unhashable type: 'list'
It shows this error. I need a output of {'a', 's'}, {'a', 'b'}. So is it possible to get this output in any other method.
 
     
    