class_docstr: Helper class for comparing sframe and sarrays
  
  Adapted from test_sframe.py
code: def _assert_sarray_equal(self, sa1, sa2):
      l1 = list(sa1)
      l2 = list(sa2)
      assert len(l1) == len(l2)
      for i in range(len(l1)):
          v1 = l1[i]
          v2 = l2[i]
          if v1 is None:
              assert v2 is None
          else:
              if type(v1) == dict:
                  assert len(v1) == len(v2)
                  for key in v1:
                      assert key in v1
                      assert v1[key] == v2[key]
  
              elif hasattr(v1, "__iter__"):
                  assert len(v1) == len(v2)
                  for j in range(len(v1)):
                      t1 = v1[j]
                      t2 = v2[j]
                      if type(t1) == float:
                          if math.isnan(t1):
                              assert math.isnan(t2)
                          else:
                              assert t1 == t2
                      else:
                          assert t1 == t2
              else:
                  assert v1 == v2
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import random
  import tempfile
  import shutil
  import math
  import string
  import numpy
  from pandas.util.testing import assert_frame_equal
  from ..None import SArray
  import turicreate
  import sys
  from six import StringIO
  import pytest
label_desc: Use image node_id 3 for calling the SFrameComparer obj's underlying member method code with example usage: obj._assert_sarray_equal(sa1, sa2) without return types