code: def test_to_dataframe():
      assert isinstance(to_dataframe(data), DataFrame)
  
file_path: finta/tests/test_utils_unit.py
imports: import pytest
  import os
  from pandas import DataFrame, Series
  from finta import TA
  from finta.utils import to_dataframe, resample, trending_down, trending_up
  import numpy
  import json
label_desc: Use image node_id 2 for calling a global function with example usage: test_to_dataframe() without return types