get the mean of all not nan values

Solutions on MaxInterview for get the mean of all not nan values by the best coders in the world