def nanmin(a, axis=None, out=None, keepdims=False):
 res = core.nanmin(a, axis=axis, out=out, keepdims=keepdims)
 if content.isnan(res).any():
  warnings.warn('All-NaN slice encountered', RuntimeWarning)
 return res

def nanmin ( a , axis = None , out = None , keepdims = False ) : res = core . nanmin ( a , axis = axis , out = out , keepdims = keepdims ) if content . isnan ( res ) . any ( ) : warnings . warn ( 'All-NaN slice encountered' , RuntimeWarning ) return res
returns the minimum of an array along an axis ignoring nan .