code: def signed_pow(x, y):
      """Takes the absolute value of x and raises it to power of y.
      Then it multiplies the result by sign of x.
      This guarantees this function is non-decreasing.
      This is useful in many contexts e.g. statistical modeling.
      :param x: the base number which can be any real number
      :param y: the power which can be any real number
      :return: returns abs(x) to power of y multiplied by sign of x
      """
      return np.sign(x) * np.power(np.abs(x), y)
  
imports: import math
  from datetime import datetime
  from datetime import timedelta
  import numpy
  import pandas
  import pytz
  from holidays_ext import get_holidays
  from pandas.tseries.frequencies import to_offset
  from scipy.special import expit
  from greykite.common import constants
  from greykite.common.python_utils import split_offset_str
label_desc: Use image node_id 29 for calling a global function with example usage: signed_pow(x, y) and returns: unknown