code: def test_assign_index_is_true():
      """Assert that the index remains unchanged when index=True."""
      data = pycaret.datasets.get_data("juice")
      data.index = list(range(100, len(data) + 100))
      pc = pycaret.classification.setup(
          data=data,
          index=True,
          data_split_shuffle=False,
          data_split_stratify=False,
      )
      assert pc.dataset.index[0] == 100
  
imports: import io
  import numpy
  import pandas
  import pytest
  from imblearn.over_sampling import ADASYN
  from scipy.sparse import csr_matrix
  from sklearn.decomposition import PCA
  from sklearn.ensemble import RandomForestClassifier
  from sklearn.pipeline import Pipeline
  from sklearn.preprocessing import StandardScaler
  import pycaret.classification
  import pycaret.datasets
  import pycaret.regression
label_desc: Use image node_id 8 for calling a global function with example usage: test_assign_index_is_true() without return types