class_docstr: Model wrapper that executes learn/predict in current process
      
class_docstr_tok: ["Model","wrapper","that","executes","learn\/predict","in","current","process"]
code: def describe(
      self, model_state, attribute: Optional[str] = None
  ) -> pd.DataFrame:
      if hasattr(self.model_instance, "describe"):
          model_state = pickle.loads(model_state)
          self.model_instance.__dict__ = model_state
          return self.model_instance.describe(attribute)
      return pd.DataFrame()
  
imports: import os
  import re
  import sys
  import shutil
  import pickle
  import tarfile
  import tempfile
  import traceback
  import subprocess
  from enum import Enum
  from pathlib import Path
  from datetime import datetime
  from typing import Optional, Dict, Union
  from collections import OrderedDict
  import pandas
  from pandas.api import types
  from mindsdb.utilities import log
  from mindsdb.utilities.config import Config
  from mindsdb.interfaces.storage import db
  from mindsdb.integrations.libs.base import BaseMLEngine
  from mindsdb.integrations.libs.const import PREDICTOR_STATUS
  from mindsdb.integrations.utilities.utils import format_exception_error
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  import mindsdb.utilities.profiler
  from .proc_wrapper import pd_decode, pd_encode, encode, decode, BYOM_METHOD, import_string, find_model_class
  from .__about__ import __version__
label_desc: Use image node_id 5 for calling the ModelWrapperUnsafe obj's underlying member method code with example usage: obj.describe(model_state, attribute) and returns: pd, self