def fn_median(self, a, axis=None):
return numpy.nanmedian(self._to_ndarray(a), axis=axis)<EOL>
Compute the median of an array, ignoring NaNs.

:param a: The array.
:return: The median value of the array.