I have a list that countain values, one of the values I got is \'nan\'
countries= [nan, \'USA\', \'UK\', \'France\']
I tried to remove it,
I like to remove missing values from a list like this:
list_no_nan = [x for x in list_with_nan if pd.notnull(x)]