def iqr(x):
  """Return the interquartile range of the input numpy array
  
  arguments:
  x: numpy array of numeric type
  
  returns:
  the interquartile range of x"""

  return x.quantile(0.75) - x.quantile(0.25)