code: def runTest(self):
      data = SparkContextForTest.spark.createDataFrame(
          [["Pepito clavo un clavillo"], ["Un clavillo muy pillo."]]
      ).toDF("text")
      documentAssembler = (
          DocumentAssembler()
          .setInputCol("text")
          .setOutputCol("document")
      )
  
      df = documentAssembler.transform(data)
  
      mapped = map_annotations_col(
          df.select("document"),
          lambda x: [a.copy(a.result.lower()) for a in x],
          "document",
          "text_tail",
          "document",
      )
      sentence_detector_dl = (
          SentenceDetector()
          .setInputCols(["text_tail"])
          .setOutputCol("sentence")
      )
      mapped_sentence = sentence_detector_dl.transform(mapped)
      mapped_sentence.show(truncate=False)
  
file_path: spark-nlp/python/test/functions_test.py
imports: import unittest
  import pytest
  from sparknlp.annotator import *
  from sparknlp.base import *
  from sparknlp.functions import map_annotations_cols, map_annotations_col
  from test.util import SparkContextForTest
label_desc: Use image node_id 1 for calling the FunctionMapColumnTestSpec obj's underlying member method code with example usage: obj.runTest() without return types