code: def kernel_pdf_gamma(x, sample, bw):
      # Gamma kernel for density, pdf, estimation
      pdfi = stats.gamma.pdf(sample, x / bw + 1, scale=bw)
      return pdfi
  
imports: import numpy
  from scipy import special, stats
label_desc: Use image node_id 7 for calling a global function with example usage: kernel_pdf_gamma(x, sample, bw) and returns: pdfi