code: def test_hash_with_tuple(data, result_data):
      # GH#28969 array containing a tuple raises on call to arr.astype(str)
      #  apparently a numpy bug github.com/numpy/numpy/issues/9441
  
      df = DataFrame({"data": data})
      result = hash_pandas_object(df)
      expected = Series(result_data, dtype=np.uint64)
      tm.assert_series_equal(result, expected)
  
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index, MultiIndex, Series, period_range, timedelta_range
  import pandas._testing
  from pandas.core.util.hashing import hash_tuples
  from pandas.util import hash_array, hash_pandas_object
label_desc: Use image node_id 29 for calling a global function with example usage: test_hash_with_tuple(data, result_data) without return types