code: def data(request):
      """Length-100 PeriodArray for semantics test."""
      res = SparseArray(
          make_data(request.param), fill_value=request.param
      )
      return res
  
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 3 for calling a global function with example usage: data(request) and returns: res