code: def gpd_loglikelihood(params, price_data):
      if params[1] != 0:
          return -gpd_loglikelihood_scale_and_shape(
              params[0], params[1], price_data
          )
      else:
          return -gpd_loglikelihood_scale_only(params[0], price_data)
  
imports: from __future__ import division
  import math
  import pandas
  import numpy
  from math import pow
  from scipy import stats, optimize
  from six import iteritems
  from sys import float_info
  from .utils import nanmean, nanstd, nanmin, up, down, roll, rolling_window
  from .periods import ANNUALIZATION_FACTORS, APPROX_BDAYS_PER_YEAR
  from .periods import DAILY, WEEKLY, MONTHLY, QUARTERLY, YEARLY
label_desc: Use image node_id 40 for calling a global function with example usage: gpd_loglikelihood(params, price_data) and returns: unknown, unknown