code: def test_simple_dataframe(self):
      expected = pandas.DataFrame()
      expected["int"] = [i for i in range(10)]
      expected["float"] = [float(i) for i in range(10)]
      expected["str"] = [str(i) for i in range(10)]
      if version_info.major == 2:
          expected["unicode"] = [unicode(i) for i in range(10)]
      expected["array"] = [array.array("d", [i]) for i in range(10)]
      expected["ls"] = [[str(i)] for i in range(10)]
      assert_frame_equal(SFrame(expected).to_dataframe(), expected)
  
file_path: turicreate/src/python/turicreate/test/test_dataframe.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import pandas
  import array
  from ..None import SFrame
  from pandas.util.testing import assert_frame_equal
  from sys import version_info
  import pytest
label_desc: Use image node_id 2 for calling the DataFrameTest obj's underlying member method code with example usage: obj.test_simple_dataframe() without return types