code: def get_median(x):
      v = np.nanmedian(x)
      if pd.isnull(v):
          return 0
      return float(v)
  
imports: import numpy
  import pandas
  from scipy import stats
  from sklearn import preprocessing
label_desc: Use image node_id 13 for calling the PreprocessingUtils obj's underlying member method code with example usage: obj.get_median(x) and returns: float, int