code: def test_iloc_series():
      s = pd.Series([1, 2, 3])
      ds = dd.from_pandas(s, 2)
      with pytest.raises(AttributeError):
          ds.iloc[:]
  
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 28 for calling a global function with example usage: test_iloc_series() without return types