code: def deprecated_alias(**aliases) -> Callable:
      """
      Used as a decorator when deprecating old function argument names, while
      keeping backwards compatibility. Implementation is inspired from [`StackOverflow`][stack_link].
  
      [stack_link]: https://stackoverflow.com/questions/49802412/how-to-implement-deprecation-in-python-with-argument-alias
  
      Examples:
          ```python
          @deprecated_alias(a='alpha', b='beta')
          def simple_sum(alpha, beta):
              return alpha + beta
          ```
  
      Args:
          **aliases: Dictionary of aliases for a function's arguments.
  
      Returns:
          Your original function wrapped with the `kwarg` redirection
              function.
      """  # noqa: E501
  
      def decorator(func):
          @wraps(func)
          def wrapper(*args, **kwargs):
              rename_kwargs(func.__name__, kwargs, aliases)
              return func(*args, **kwargs)
  
          return wrapper
  
      return decorator
  
imports: from __future__ import annotations
  import importlib
  import os
  import socket
  import sys
  from functools import singledispatch, wraps
  from pathlib import Path
  from typing import Any, Callable, Dict, Iterable, List, Union
  from warnings import warn
  import numpy
  import pandas
label_desc: Use image node_id 11 for calling a global function with example usage: deprecated_alias() and returns: decorator, wrapper, func