code: def wquantiles_str_array(W, x, alphas=(0.25, 0.50, 0,75)):
      
      return {p: wquantiles(W, x[p], alphas) for p in x.dtype.names}
docs: quantiles for weighted data stored in a structured array. 
  
      Parameters
      ----------
      W: (N,) ndarray
          normalised weights (weights are >=0 and sum to one)
      x: (N,) structured array
          data
      alphas: list-like of size k (default: (0.25, 0.50, 0.75))
          probabilities (between 0. and 1.) 
  
      Returns
      -------
      dictionary {p: quantiles} that stores for each field name p
      the corresponding quantiles