code: def test_pandas(spark, sample_cache):
      item_scores = pd.DataFrame(
          [(0, 2.3), (1, 3.1)], columns=["itemID", "score"]
      )
  
      model = SARModel(sample_cache)
      y = model.predict(
          item_scores["itemID"].values,
          item_scores["score"].values,
          top_k=10,
          remove_seen=False,
      )
  
      assert_compare(0, 0.85, y[0])
      assert_compare(1, 6.9699, y[1])
      assert_compare(2, 9.92, y[2])
  
imports: import math
  from pathlib import Path
  import numpy
  import pandas
  from pyspark.sql import SparkSession
  import pytest
  from pandas.testing import assert_frame_equal
  from pysarplus import SARPlus, SARModel
label_desc: Use image node_id 9 for calling a global function with example usage: test_pandas(spark, sample_cache) without return types