code: def implTestQuantizeCase(srcDataSchema, srcData, quantizationParams):
      spark = test_helpers.getOrCreateSparkSession(
          test_helpers.getCurrentMethodName()
      )
      import catboost_spark
  
      print("srcDataSchema=", srcDataSchema)
  
      df = spark.createDataFrame(
          spark.sparkContext.parallelize(srcData),
          StructType(srcDataSchema),
      )
  
      pool = catboost_spark.Pool(df)
      quantizedPool = pool.quantize(quantizationParams)
  
      pool_test_helpers.printPool(pool, "raw")
      pool_test_helpers.printPool(quantizedPool, "quantized")
  
file_path: catboost/catboost/spark/catboost4j-spark/core/src/test/python/pool_quantization_test.py
imports: import test_helpers
  import pool_test_helpers
  from pyspark.ml.linalg import Vectors, VectorUDT
  from pyspark.sql import Row
  from pyspark.sql.types import *
label_desc: Use image node_id 1 for calling a global function with example usage: implTestQuantizeCase(srcDataSchema, srcData, quantizationParams) without return types