code: def spark():
      spark = SparkSession.builder.getOrCreate()
      yield spark
      spark.stop()
  
file_path: Pandas-Bokeh/Tests/test_PySpark.py
imports: import os
  import sys
  import numpy
  import pandas
  import pytest
  import pandas_bokeh
label_desc: Use image node_id 1 for calling a global function with example usage: spark() without return types