code: def arr(arr_data):
      """Fixture returning SparseArray from 'arr_data'"""
      return SparseArray(arr_data)
  
imports: import re
  import numpy
  import pytest
  from pandas._libs.sparse import IntIndex
  import pandas
  from pandas import SparseDtype, isna
  import pandas._testing
  from pandas.core.arrays.sparse import SparseArray
label_desc: Use image node_id 2 for calling a global function with example usage: arr(arr_data) and returns: SparseArray