code: def as_dict(
      self, cols: Optional[Iterable[str]] = None
  ) -> Iterable[Dict[str, "CellT"]]:
      keys = self.keys() if cols is None else set(cols)
      return [
          {k: self._columns[k][i] for k in keys}
          for i in range(len(self))
      ]
  
imports: from collections import abc
  from itertools import chain, repeat, zip_longest
  from operator import itemgetter
  from typing import TYPE_CHECKING, Any, Dict, ItemsView, Iterable, Iterator, List, Mapping, MutableSequence, Optional, Sequence, Set, Tuple, Union, overload
  from funcy import reraise
label_desc: Use image node_id 30 for calling the TabularData obj's underlying member method code with example usage: obj.as_dict(cols) and returns: unknown