code: def test_with_zerodim_ndarray():
      # GH#27910
      arr = SparseArray([0, 1], fill_value=0)
  
      result = arr * np.array(2)
      expected = arr * 2
      tm.assert_sp_array_equal(result, expected)
  
imports: import operator
  import numpy
  import pytest
  import pandas
  from pandas import SparseDtype
  import pandas._testing
  from pandas.core.arrays.sparse import SparseArray
label_desc: Use image node_id 5 for calling a global function with example usage: test_with_zerodim_ndarray() without return types