class_docstr: A class for handling connections and interactions with the Frappe API.
  
  Attributes:
      client (FrappeClient): The `FrappeClient` object for interacting with the Frappe API.
      is_connected (bool): Whether or not the API client is connected to Frappe.
      domain (str): Frappe domain to send API requests to.
      access_token (str): OAuth token to use for authentication.
class_docstr_tok: ["A","class","for","handling","connections","and","interactions","with","the","Frappe","API",".","Attributes",":","client","(","FrappeClient",")",":","The","`","FrappeClient","`","object","for","interacting","with","the","Frappe","API",".","is_connected","(","bool",")",":","Whether","or","not","the","API","client","is","connected","to","Frappe",".","domain","(","str",")",":","Frappe","domain","to","send","API","requests","to",".","access_token","(","str",")",":","OAuth","token","to","use","for","authentication","."]
code: def _document_to_dataframe_row(self, doctype, document: Dict) -> Dict:
      return {"doctype": doctype, "data": json.dumps(document)}
  
imports: import json
  import pandas
  import datetime
  from typing import Dict
  from mindsdb.integrations.handlers.frappe_handler.frappe_tables import FrappeDocumentsTable
  from mindsdb.integrations.handlers.frappe_handler.frappe_client import FrappeClient
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse
  from mindsdb.utilities import log
  from mindsdb_sql import parse_sql
label_desc: Use image node_id 11 for calling the FrappeHandler obj's underlying member method code with example usage: obj._document_to_dataframe_row(doctype, document) and returns: dict