class_docstr: A dict-like row of a tabular ``Dataset``.
  
  This implements the dictionary mapping interface, but provides more
  efficient access with less data copying than converting Arrow Tables
  or Pandas DataFrames into per-row dicts. This class must be subclassed,
  with subclasses implementing ``__getitem__``, ``__iter__``, and ``__len__``.
  
  Concrete subclasses include ``ray.data._internal.arrow_block.ArrowRow`` and
  ``ray.data._internal.pandas_block.PandasRow``.
docstr: Convert to a normal Python dict. This will create a new copy of the row.
docstr_tok: ["Convert","to","a","normal","Python","dict",".","This","will","create","a","new","copy","of","the","row","."]
code: def as_pydict(self) -> dict:
      """
      Convert to a normal Python dict. This will create a new copy of the row.
      """
      return dict(self.items())
  
file_path: ray/python/ray/data/row.py
imports: from collections.abc import Mapping
  from typing import Any
  from ray.util.annotations import Deprecated
label_desc: Use image node_id 2 for calling the TableRow obj's underlying member method code with example usage: obj.as_pydict() and returns: dict