code: def fill_n(self, values, weights=None, **kwargs):
          
          if weights is not None:
              if weights.shape != values.shape[0]:
                  raise RuntimeError("Wrong shape of weights")
          for i, value in enumerate(values):
              if weights is not None:
                  self.fill(value, weights[i], **kwargs)
              else:
                  self.fill(value, **kwargs)
docs: Add more values at once.
  
          This (default) implementation uses a simple loop to add values using `fill` method.
          Actually, it is not used in neither Histogram1D, nor HistogramND.
  
          Parameters
          ----------
          values: Iterable
              Values to add
          weights: Optional[Iterable]
              Optional values to assign to each value
  
          Note
          ----
          This method should be overloaded with a more efficient one.
  
          May change the dtype if weight is set.