code: def _nanmedian1d(arr1d, overwrite_input=False):
      """
      Private function for rank 1 arrays. Compute the median ignoring NaNs.
      See nanmedian for parameter usage
      """
      arr1d, overwrite_input = _remove_nan_1d(
          arr1d, overwrite_input=overwrite_input
      )
      if arr1d.size == 0:
          return np.nan
  
      return np.median(arr1d, overwrite_input=overwrite_input)
  
imports: from __future__ import division, absolute_import, print_function
  import functools
  import warnings
  import numpy
  from numpy.lib import function_base
  from numpy.core import overrides
label_desc: Use image node_id 23 for calling a global function with example usage: _nanmedian1d(arr1d, overwrite_input) and returns: np, np