code: def printPool(pool, name="pool"):
      print("----------------------------")
      print("Pool '%s'" % name)
      attrs = [
          "isQuantized",
          "getFeatureCount",
          "getFeatureNames",
          "count",
          "pairsCount",
          "getBaselineCount",
      ]
      for attr in attrs:
          print("%s = %s" % (attr, getattr(pool, attr)()))
  
      print("data=")
      pool.data.show(truncate=False)
  
      if pool.pairsData:
          print("pairsData=")
          pool.pairsData.show(truncate=False)
  
      print("----------------------------")
  
file_path: catboost/catboost/spark/catboost4j-spark/core/src/test/python/pool_test_helpers.py
imports: import tempfile
  from pyspark.ml.linalg import *
  from pyspark.ml.param import *
  from pyspark.sql import *
  from pyspark.sql.types import *
  import test_helpers
label_desc: Use image node_id 4 for calling a global function with example usage: printPool(pool, name) without return types