code: def _delegate_method(self, name: str, *args, **kwargs):
      from pandas import Series
  
      values = self._get_values()
  
      method = getattr(values, name)
      result = method(*args, **kwargs)
  
      if not is_list_like(result):
          return result
  
      result = Series(
          result, index=self._parent.index, name=self.name
      ).__finalize__(self._parent)
  
      # setting this object will show a SettingWithCopyWarning/Error
      result._is_copy = (
          "modifications to a method of a datetimelike "
          "object are not supported and are discarded. "
          "Change values on the original."
      )
  
      return result
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, cast
  import warnings
  import numpy
  from pandas._libs import lib
  from pandas.util._exceptions import find_stack_level
  from pandas.core.dtypes.common import is_integer_dtype, is_list_like
  from pandas.core.dtypes.dtypes import ArrowDtype, CategoricalDtype, DatetimeTZDtype, PeriodDtype
  from pandas.core.dtypes.generic import ABCSeries
  from pandas.core.accessor import PandasDelegate, delegate_names
  from pandas.core.arrays import DatetimeArray, PeriodArray, TimedeltaArray
  from pandas.core.arrays.arrow.array import ArrowExtensionArray
  from pandas.core.base import NoNewAttributesMixin, PandasObject
  from pandas.core.indexes.datetimes import DatetimeIndex
  from pandas.core.indexes.timedeltas import TimedeltaIndex
label_desc: Use image node_id 5 for calling the Properties obj's underlying member method code with example usage: obj._delegate_method(name) and returns: result, result