code: def test_from_pandas_series():
      data = pd.Series(np.random.rand(10), name="a")
      series = from_pandas_series(data, chunk_size=4)
  
      assert series.name == data.name
      assert isinstance(
          series.index_value._index_value, IndexValue.RangeIndex
      )
      assert series.index_value._index_value._slice == slice(0, 10, 1)
      assert series.index_value.is_monotonic_increasing is True
      assert series.index_value.is_monotonic_decreasing is False
      assert series.index_value.is_unique is True
      assert series.index_value.min_val == 0
      assert series.index_value.max_val == 9
  
      series = tile(series)
  
      assert len(series.chunks) == 3
      pd.testing.assert_series_equal(
          series.chunks[0].op.data, series.op.data.iloc[:4]
      )
      assert series.chunks[0].index_value._index_value._slice == slice(
          0, 4, 1
      )
      assert (
          series.chunks[
              0
          ].index_value._index_value._is_monotonic_increasing
          is True
      )
      assert (
          series.chunks[
              0
          ].index_value._index_value._is_monotonic_decreasing
          is False
      )
      assert (
          series.chunks[0].index_value._index_value._is_unique is True
      )
      pd.testing.assert_series_equal(
          series.chunks[1].op.data, series.op.data.iloc[4:8]
      )
      assert series.chunks[1].index_value._index_value._slice == slice(
          4, 8, 1
      )
      assert (
          series.chunks[
              1
          ].index_value._index_value._is_monotonic_increasing
          is True
      )
      assert (
          series.chunks[
              1
          ].index_value._index_value._is_monotonic_decreasing
          is False
      )
      assert (
          series.chunks[1].index_value._index_value._is_unique is True
      )
      pd.testing.assert_series_equal(
          series.chunks[2].op.data, series.op.data.iloc[8:]
      )
      assert series.chunks[2].index_value._index_value._slice == slice(
          8, 10, 1
      )
      assert (
          series.chunks[
              2
          ].index_value._index_value._is_monotonic_increasing
          is True
      )
      assert (
          series.chunks[
              2
          ].index_value._index_value._is_monotonic_decreasing
          is False
      )
      assert (
          series.chunks[2].index_value._index_value._is_unique is True
      )
  
imports: import os
  import tempfile
  import shutil
  import string
  from collections import OrderedDict
  import numpy
  import pandas
  import pytest
  from ....None import tensor
  from ....config import option_context
  from ....core import tile
  from ....tests.core import require_ray
  from ....utils import lazy_import
  from ...core import IndexValue, DatetimeIndex, Int64Index, Float64Index, MultiIndex
  from ..core import merge_small_files
  from ..dataframe import from_pandas
  from ..date_range import date_range
  from ..from_records import from_records
  from ..from_tensor import dataframe_from_tensor, series_from_tensor, dataframe_from_1d_tileables
  from ..index import from_pandas, from_tileable
  from ..read_csv import read_csv, DataFrameReadCSV
  from ..read_sql import read_sql_table, read_sql_query, DataFrameReadSQL
  from ..read_raydataset import read_ray_dataset, DataFrameReadRayDataset, read_ray_mldataset, DataFrameReadMLDataset
  from ...utils import ray_deprecate_ml_dataset
  from ..series import from_pandas
label_desc: Use image node_id 3 for calling a global function with example usage: test_from_pandas_series() without return types