docstr: Test that the index is hidden for some data formats.
docstr_tok: ["Test","that","the","index","is","hidden","for","some","data","formats","."]
code: def test_apply_data_specific_configs_hides_index(
      self, data_format: DataFormat, hidden: bool
  ):
      """Test that the index is hidden for some data formats."""
      columns_config: ColumnConfigMapping = {}
      data_df = pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
      apply_data_specific_configs(columns_config, data_df, data_format)
  
      if hidden:
          self.assertEqual(
              columns_config[INDEX_IDENTIFIER]["hidden"],
              hidden,
              f"Data of type {data_format} should be hidden.",
          )
      else:
          self.assertNotIn(INDEX_IDENTIFIER, columns_config)
  
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 10 for calling the ColumnConfigUtilsTest obj's underlying member method code with example usage: obj.test_apply_data_specific_configs_hides_index(data_format, hidden) without return types