class_docstr: mindsdb instance with temporal database and config
code: def ret_to_df(ret):
      # converts executor response to dataframe
      columns = [
          col.alias if col.alias is not None else col.name
          for col in ret.columns
      ]
      return pd.DataFrame(ret.data, columns=columns)
  
imports: import copy
  import datetime
  import json
  import os
  import sys
  import tempfile
  from unittest import mock
  from pathlib import Path
  import duckdb
  import numpy
  import pandas
  from mindsdb_sql.render.sqlalchemy_render import SqlalchemyRender
  from mindsdb_sql import parse_sql
label_desc: Use image node_id 5 for calling the BaseUnitTest obj's underlying member method code with example usage: obj.ret_to_df(ret) and returns: pd