code: def test_deterministic_hashing_series():
      obj = pd.Series([0, 1, 2])
  
      dask_df = dd.from_pandas(obj, npartitions=1)
  
      ddf1 = dask_df.loc[0:1]
      ddf2 = dask_df.loc[0:1]
  
      assert tokenize(ddf1) == tokenize(ddf2)
  
      ddf2 = dask_df.loc[0:2]
      assert tokenize(ddf1) != tokenize(ddf2)
  
imports: from __future__ import annotations
  import contextlib
  import numpy
  import pandas
  import pytest
  import dask
  import dask.dataframe
  from dask.base import tokenize
  from dask.dataframe._compat import PANDAS_GE_210, PANDAS_GE_220, IndexingError, tm
  from dask.dataframe.indexing import _coerce_loc_index
  from dask.dataframe.utils import assert_eq, make_meta, pyarrow_strings_enabled
label_desc: Use image node_id 34 for calling a global function with example usage: test_deterministic_hashing_series() without return types