class_docstr: Helper class for the .loc accessor
class_docstr_tok: ["Helper","class","for","the",".loc","accessor"]
code: def _loc_series(self, iindexer, cindexer):
      if not is_bool_dtype(iindexer.dtype):
          raise KeyError(
              "Cannot index with non-boolean dask Series. Try passing computed "
              "values instead (e.g. ``ddf.loc[iindexer.compute()]``)"
          )
      meta = self._make_meta(iindexer, cindexer)
      return self.obj.map_partitions(
          methods.loc, iindexer, cindexer, token="loc-series", meta=meta
      )
  
imports: from __future__ import annotations
  import bisect
  from collections import defaultdict
  from datetime import datetime
  import numpy
  import pandas
  from pandas.api.types import is_bool_dtype
  from dask.array.core import Array
  from dask.base import tokenize
  from dask.dataframe import methods
  from dask.dataframe._compat import IndexingError
  from dask.dataframe.core import Series, new_dd_object
  from dask.dataframe.utils import is_index_like, is_series_like, meta_nonempty
  from dask.highlevelgraph import HighLevelGraph
  from dask.utils import is_arraylike
label_desc: Use image node_id 5 for calling the _LocIndexer obj's underlying member method code with example usage: obj._loc_series(iindexer, cindexer) and returns: self