Taking a mean value along with Nan
<p>I have an array which contains some Nan values. There are also float numbers into this array. Now I want to take mean/median of this array using python. How can I do it? If I simple take mean of array then it is giving me only Nan. </p>

<p>Thanks in advance!</p>

<p>-Viral</p>
