code: def register_series_accessor(name):
      from pandas import Series
  
      return _register_accessor(name, Series)
  
imports: import warnings
  from pandas.util._decorators import Appender
label_desc: Use image node_id 4 for calling a global function with example usage: register_series_accessor(name) and returns: _register_accessor