docstr: Test that a non-range index gets configured as required.
docstr_tok: ["Test","that","a","non-range","index","gets","configured","as","required","."]
code: def test_apply_data_specific_configs_makes_index_required(self):
      """Test that a non-range index gets configured as required."""
      columns_config: ColumnConfigMapping = {}
      data_df = pd.DataFrame(
          {"a": [1, 2, 3], "b": [4, 5, 6]}, index=["a", "b", "c"]
      )
      apply_data_specific_configs(
          columns_config, data_df, DataFormat.PANDAS_DATAFRAME
      )
      self.assertEqual(
          columns_config[INDEX_IDENTIFIER]["required"],
          True,
          f"Index of type {type(data_df.index)} should be configured as required.",
      )
  
imports: from __future__ import annotations
  import datetime
  import unittest
  from decimal import Decimal
  import numpy
  import pandas
  import pyarrow
  from parameterized import parameterized
  from streamlit.elements.lib.column_config_utils import _EDITING_COMPATIBILITY_MAPPING, INDEX_IDENTIFIER, ColumnConfigMapping, ColumnConfigMappingInput, ColumnDataKind, _convert_column_config_to_json, _determine_data_kind, _determine_data_kind_via_arrow, _determine_data_kind_via_inferred_type, _determine_data_kind_via_pandas_dtype, apply_data_specific_configs, determine_dataframe_schema, is_type_compatible, process_config_mapping, update_column_config
  from streamlit.elements.lib.column_types import ColumnConfig
  from streamlit.errors import StreamlitAPIException
  from streamlit.type_util import DataFormat
label_desc: Use image node_id 11 for calling the ColumnConfigUtilsTest obj's underlying member method code with example usage: obj.test_apply_data_specific_configs_makes_index_required() without return types