code: def test_series_getitem():
      data = pd.Series(np.random.rand(10), name="a")
      series = md.Series(data, chunk_size=3)
  
      result1 = series[2]
      assert result1.shape == ()
  
      result1 = tile(result1)
      assert result1.nsplits == ()
      assert len(result1.chunks) == 1
      assert isinstance(result1.chunks[0], TENSOR_CHUNK_TYPE)
      assert result1.chunks[0].shape == ()
      assert result1.chunks[0].dtype == data.dtype
  
      result2 = series[[4, 5, 1, 2, 3]]
      assert result2.shape == (5,)
  
      result2 = tile(result2)
      assert result2.nsplits == ((2, 2, 1),)
      assert len(result2.chunks) == 3
      assert result2.chunks[0].op.labels == [4, 5]
      assert result2.chunks[1].op.labels == [1, 2]
      assert result2.chunks[2].op.labels == [3]
  
      data = pd.Series(
          np.random.rand(10), index=["i" + str(i) for i in range(10)]
      )
      series = md.Series(data, chunk_size=3)
  
      result1 = series["i2"]
      assert result1.shape == ()
  
      result1 = tile(result1)
      assert result1.nsplits == ()
      assert result1.chunks[0].dtype == data.dtype
      assert result1.chunks[0].op.labels == "i2"
  
      result2 = series[["i2", "i4"]]
      assert result2.shape == (2,)
  
      result2 = tile(result2)
      assert result2.nsplits == ((2,),)
      assert result2.chunks[0].dtype == data.dtype
      assert result2.chunks[0].op.labels == ["i2", "i4"]
  
imports: import numpy
  import pandas
  import pytest
  from ....None import dataframe
  from ....None import tensor
  from ....core import tile
  from ....tensor.core import TENSOR_CHUNK_TYPE, TENSOR_TYPE, Tensor
  from ...core import SERIES_CHUNK_TYPE, SERIES_TYPE, Series, DATAFRAME_TYPE, DataFrame, DATAFRAME_CHUNK_TYPE
  from ...datasource.from_tensor import dataframe_from_tensor
  from ..iloc import DataFrameIlocGetItem, DataFrameIlocSetItem, IndexingError, HeadTailOptimizedOperandMixin
  from ..loc import DataFrameLocGetItem
label_desc: Use image node_id 8 for calling a global function with example usage: test_series_getitem() without return types