code: def register_dataframe_accessor(name):
      from pandas import DataFrame
  
      return _register_accessor(name, DataFrame)
  
imports: from __future__ import annotations
  from typing import Callable, final
  import warnings
  from pandas.util._decorators import doc
  from pandas.util._exceptions import find_stack_level
label_desc: Use image node_id 3 for calling a global function with example usage: register_dataframe_accessor(name) and returns: _register_accessor