code: def duplicates_data(spark_session):
      correlation_testdata = pd.DataFrame(
          {
              "test_num_1": [1, 2, 3, 5, 7, 8, 9, 1],
              "test_num_2": [11, 12, 13, 15, 17, 18, 4, 11],
          }
      )
  
      return spark_session.createDataFrame(correlation_testdata)
  
imports: import pandas
  import pytest
  from ydata_profiling.config import Settings
  from ydata_profiling.model.spark.duplicates_spark import spark_get_duplicates
label_desc: Use image node_id 1 for calling a global function with example usage: duplicates_data(spark_session) and returns: spark_session