I have a dictionary of dictionaries with several values. I want to count all the entries that do not contain 'NaN' (Not a Number in a string).for each in enron_data:    if enron_data[each][salary] !='NaN':        counter += 1    if enron_data[each]['email_address']!='NaN':        valid_email +=1I'm not familiar with list comprehensions, but I'm pretty sure there's might be a more pythonic way to achieve this.Can anyone share pythonic advice?Thank you
Pythonic way to count if a value is 'NaN' in a dictionary of dictionaries
python;python 2.7