code: def checkCorrectSkips(
      originalFullFrame, csvfile, skipped_columns, uuidNames
  ):
      skippedFrameUF = h2o.upload_file(
          csvfile, skipped_columns=skipped_columns
      )
      skippedFrameIF = h2o.import_file(
          csvfile, skipped_columns=skipped_columns
      )  # this two frames should be the same
      pyunit_utils.compare_frames_local(
          skippedFrameUF, skippedFrameIF, prob=0.5
      )
  
      skipCounter = 0
      typeDict = originalFullFrame.types
      frameNames = originalFullFrame.names
      for cindex in range(len(frameNames)):
          if cindex not in skipped_columns:
              if typeDict[frameNames[cindex]] == "enum":
                  pyunit_utils.compare_frames_local_onecolumn_NA_enum(
                      originalFullFrame[cindex],
                      skippedFrameIF[skipCounter],
                      prob=1,
                      tol=1e-10,
                      returnResult=False,
                  )
              elif typeDict[frameNames[cindex]] == "string":
                  pyunit_utils.compare_frames_local_onecolumn_NA_string(
                      originalFullFrame[cindex],
                      skippedFrameIF[skipCounter],
                      prob=1,
                      returnResult=False,
                  )
              else:
                  pyunit_utils.compare_frames_local_onecolumn_NA(
                      originalFullFrame[cindex],
                      skippedFrameIF[skipCounter],
                      prob=1,
                      tol=1e-10,
                      returnResult=False,
                  )
              skipCounter = skipCounter + 1
  
      # since we cannot check uuid contents, we at least need to know that the return frame contains the correct column names
      frameNames.extend(uuidNames)
      skippedFrameNames = skippedFrameIF.names
  
      for skipIndex in skipped_columns:
          assert (
              frameNames[skipIndex] not in skippedFrameNames
          ), "This column: {0}/{1} should have been skipped but is not!".format(
              frameNames[skipIndex], skipIndex
          )
  
imports: import sys
  import h2o
  from tests import pyunit_utils
  import os
  import datetime
  import random
label_desc: Use image node_id 2 for calling a global function with example usage: checkCorrectSkips(originalFullFrame, csvfile, skipped_columns, uuidNames) without return types