As we can see, all nan values are masked as False. Ok we are good to go now. To calculate variance, numpy mask has variance function as shown below.
確定! 回上一頁