code: def data_for_compare(request):
      return SparseArray(
          [0, 0, np.nan, -2, -1, 4, 2, 3, 0, 0],
          fill_value=request.param,
      )
  
imports: import numpy
  import pytest
  from pandas.errors import PerformanceWarning
  import pandas
  from pandas import SparseDtype
  import pandas._testing
  from pandas.arrays import SparseArray
  from pandas.tests.extension import base
label_desc: Use image node_id 11 for calling a global function with example usage: data_for_compare(request) and returns: SparseArray