code: def feature_group_as_spark_df():
      return Mock(DataFrame)
  
imports: from __future__ import absolute_import
  import pytest
  import test_data_helpers
  from mock import Mock, patch
  from pyspark.sql import DataFrame, SparkSession
  from sagemaker.feature_store.feature_processor._input_loader import InputLoader
  from sagemaker.feature_store.feature_processor._params_loader import ParamsLoader
  from sagemaker.feature_store.feature_processor._spark_factory import SparkSessionFactory
  from sagemaker.feature_store.feature_processor._udf_arg_provider import SparkArgProvider
  from sagemaker.feature_store.feature_processor._data_source import PySparkDataSource
label_desc: Use image node_id 2 for calling a global function with example usage: feature_group_as_spark_df() and returns: Mock