code: def _get_funcwrapper_func_and_kwargs(
      func: FuncWrapper,
  ) -> Tuple[Callable, dict]:
      """Extract the function and keyword arguments from the given FuncWrapper.
  
      Parameters
      ----------
      func: FuncWrapper
          The FuncWrapper to extract the function and kwargs from.
  
      Returns
      -------
      Tuple[Callable, dict]
          Tuple of 1st the function of the FuncWrapper (is a Callable) and 2nd the keyword
          arguments of the FuncWrapper.
  
      """
      assert isinstance(func, FuncWrapper)
  
      # Extract the function (is a Callable)
      function = func.func
  
      # Extract the keyword arguments
      func_wrapper_kwargs = dict()
      func_wrapper_kwargs["output_names"] = func.output_names
      func_wrapper_kwargs["input_type"] = func.input_type
      func_wrapper_kwargs["vectorized"] = func.vectorized
      func_wrapper_kwargs.update(func.kwargs)
  
      return function, func_wrapper_kwargs
  
file_path: tsflex/tsflex/features/utils.py
imports: from typing import Any, Callable, List, Optional, Tuple, Union
  import numpy
  import pandas
  from .function_wrapper import FuncWrapper, _get_name
label_desc: Use image node_id 3 for calling a global function with example usage: _get_funcwrapper_func_and_kwargs(func) and returns: function,  func_wrapper_kwargs