I have a dictionary of dictionaries. I want a Python code to get a set of unique keys present in the inner dictionaries of my dictionary of dictionaries.
E.g.
aa={'a':{'x':1, 'y':2, 'z':2}, 'b':{'x':3, 't':2, 'z':9, 'u':5}}
result should be
{'y', 'z', 'u', 'x', 't'}
How can I do it in a Pythonic way?