docs: def make_pdf(dist, params, size=10000):
      """Generate distributions's Propbability Distribution Function """
  
      # Separate parts of parameters
      arg = params[:-2]
      loc = params[-2]
      scale = params[-1]
  
      # Get sane start and end points of distribution
      start = dist.ppf(0.01, *arg, loc=loc, scale=scale) if arg else dist.ppf(0.01, loc=loc, scale=scale)
      end = dist.ppf(0.99, *arg, loc=loc, scale=scale) if arg else dist.ppf(0.99, loc=loc, scale=scale)
  
      # Build PDF and turn into pandas Series
      x = np.linspace(start, end, size)
      y = dist.pdf(x, loc=loc, scale=scale, *arg)
      pdf = pd.Series(y, x)
  
      return pdf