code: def _pdf(self, x, c):
      Px = np.power(1 - c * x, -1.0 + 1.0 / c)
      return Px
  
imports: import numpy
  from scipy import stats
  from scipy.special import comb
  from scipy.stats.distributions import rv_continuous
  import matplotlib.pyplot
  from numpy import where, inf
  from numpy import abs
label_desc: Use image node_id 2 for calling the genpareto2_gen obj's underlying member method code with example usage: obj._pdf(x, c) and returns: Px