docstr: A proxy-call to the dataframe's `.to_dict()`.
code: def to_dict(self, orient="dict", into=dict, as_series=True):
      """
      A proxy-call to the dataframe's `.to_dict()`.
      """
      if self._engine == "pandas":
          return self.dataframe.to_dict(orient=orient, into=into)
      elif self._engine == "polars":
          return self.dataframe.to_dict(as_series=as_series)
      raise RuntimeError(
          f"{self.__class__} object has unknown engine type. "
          f"Possible engines: 'pandas', 'polars'. Actual '{self._engine}'."
      )
  
imports: from abc import ABC
label_desc: Use image node_id 48 for calling the DataframeAbstract obj's underlying member method code with example usage: obj.to_dict(orient, into, as_series) and returns: self, self