code: def import_zip_skipped_columns():
      # checking out zip file
      airlineFull = h2o.import_file(
          path=pyunit_utils.locate("smalldata/jira/adult.gz")
      )
      filePath = pyunit_utils.locate("smalldata/jira/adult.gz")
  
      skip_all = list(range(airlineFull.ncol))
      skip_even = list(range(0, airlineFull.ncol, 2))
      skip_odd = list(range(1, airlineFull.ncol, 2))
      skip_start_end = [0, airlineFull.ncol - 1]
      skip_except_last = list(range(0, airlineFull.ncol - 2))
      skip_except_first = list(range(1, airlineFull.ncol))
      temp = list(range(0, airlineFull.ncol))
      random.shuffle(temp)
      skip_random = []
      for index in range(0, airlineFull.ncol // 2):
          skip_random.append(temp[index])
      skip_random.sort()
  
      try:
          bad = h2o.import_file(
              filePath, skipped_columns=skip_all
          )  # skipped all
          assert (
              False
          ), "Test should have thrown an exception due to all columns are skipped"  # should have failed here
      except Exception as ex:
          print(ex)
          pass
  
      try:
          bad = h2o.upload_file(
              filePath, skipped_columns=skip_all
          )  # skipped all
          assert (
              False
          ), "Test should have thrown an exception due to all columns are skipped"  # should have failed here
      except Exception as ex:
          print(ex)
          pass
  
          # skip odd columns
      pyunit_utils.checkCorrectSkips(airlineFull, filePath, skip_odd)
  
      # skip even columns
      pyunit_utils.checkCorrectSkips(airlineFull, filePath, skip_even)
  
      # skip the very beginning and the very end.
      pyunit_utils.checkCorrectSkips(
          airlineFull, filePath, skip_start_end
      )
  
      # skip all except the last column
      pyunit_utils.checkCorrectSkips(
          airlineFull, filePath, skip_except_last
      )
  
      # skip all except the very first column
      pyunit_utils.checkCorrectSkips(
          airlineFull, filePath, skip_except_first
      )
  
      # randomly skipped half the columns
      pyunit_utils.checkCorrectSkips(airlineFull, filePath, skip_random)
  
imports: import sys
  import h2o
  from tests import pyunit_utils
  import random
label_desc: Use image node_id 1 for calling a global function with example usage: import_zip_skipped_columns() without return types