I would like to find the proportion of missing values of my features on each country and on all years to select the countries.
I tried this:
df[indicators].isna().mean().sort_values(ascending=False)
but it gives me the proportion of missing values for each indicator only...
i would like this output :