code: def rewrite_axis_style_signature(name, extra_params):
      def decorate(func):
          @wraps(func)
          def wrapper(*args, **kwargs):
              return func(*args, **kwargs)
  
          if not PY2:
              kind = inspect.Parameter.POSITIONAL_OR_KEYWORD
              params = [
                  inspect.Parameter("self", kind),
                  inspect.Parameter(name, kind, default=None),
                  inspect.Parameter("index", kind, default=None),
                  inspect.Parameter("columns", kind, default=None),
                  inspect.Parameter("axis", kind, default=None),
              ]
  
              for pname, default in extra_params:
                  params.append(
                      inspect.Parameter(pname, kind, default=default)
                  )
  
              sig = inspect.Signature(params)
  
              func.__signature__ = sig
          return wrapper
  
      return decorate
  
imports: from functools import wraps
  import inspect
  from textwrap import dedent
  import warnings
  from pandas._libs.properties import cache_readonly
  from pandas.compat import PY2, callable, signature
label_desc: Use image node_id 3 for calling a global function with example usage: rewrite_axis_style_signature(name, extra_params) and returns: decorate, wrapper, func