code: def sample(self, nsample=None, **kwargs):
          
          if len(kwargs) > 0:
              self.update(**kwargs)
          return self.distribution.rvs(*self.args, size=len(self),
                                       loc=self.loc, scale=self.scale)
docs: Draw a sample from the prior distribution.
  
          :param nsample: (optional)
              Unused