class_docstr: Custom property-like object (descriptor) for caching accessors.
  
  Parameters
  ----------
  name : str
      The namespace this will be accessed under, e.g. ``df.foo``
  accessor : cls
      The class with the extension methods. The class' __init__ method
      should expect one of a ``Series``, ``DataFrame`` or ``Index`` as
      the single argument ``data``
class_docstr_tok: ["Custom","property-like","object","(","descriptor",")","for","caching","accessors",".","Parameters","--","--","--","--","--","name",":","str","The","namespace","this","will","be","accessed","under",",","e.g",".","``","df.foo","``","accessor",":","cls","The","class","with","the","extension","methods",".","The","class","'","__init__","method","should","expect","one","of","a","``","Series","``",",","``","DataFrame","``","or","``","Index","``","as","the","single","argument","``","data","``"]
code: def __init__(self, name, accessor):
      self._name = name
      self._accessor = accessor
  
imports: from __future__ import annotations
  import warnings
  import numpy
  import pandas
  from dask.dataframe._compat import check_to_pydatetime_deprecation
  from dask.utils import derived_from
label_desc: Use image node_id 1 to create a new CachedAccessor object  with example: obj = CachedAccessor(name, accessor)