docstr: Test that `determine_data_format` correctly determines the
  data format of a variety of data structures/types.
docstr_tok: ["Test","that","`","determine_data_format","`","correctly","determines","the","data","format","of","a","variety","of","data","structures\/types","."]
code: def test_determine_data_format(
      self,
      input_data: Any,
      metadata: TestCaseMetadata,
  ):
      """Test that `determine_data_format` correctly determines the
      data format of a variety of data structures/types.
      """
      data_format = type_util.determine_data_format(input_data)
      self.assertEqual(
          data_format,
          metadata.expected_data_format,
          f"{str(input_data)} is expected to be {metadata.expected_data_format} but was {data_format}.",
      )
  
imports: import enum
  import unittest
  from collections import namedtuple
  from datetime import date
  from decimal import Decimal
  from typing import Any
  from unittest.mock import patch
  import numpy
  import pandas
  import plotly.graph_objs
  import pytest
  from pandas.api.types import infer_dtype
  from parameterized import parameterized
  from streamlit import errors, type_util
  from streamlit.errors import StreamlitAPIException
  from tests.streamlit.data_mocks import BASE_TYPES_DF, DATETIME_TYPES_DF, INTERVAL_TYPES_DF, LIST_TYPES_DF, NUMBER_TYPES_DF, PERIOD_TYPES_DF, SHARED_TEST_CASES, SPECIAL_TYPES_DF, UNSUPPORTED_TYPES_DF, TestCaseMetadata, TestObject
  from tests.streamlit.snowpark_mocks import DataFrame
  from tests.streamlit.snowpark_mocks import Row
  from tests.testutil import create_snowpark_session, patch_config_options
label_desc: Use image node_id 27 for calling the TypeUtilTest obj's underlying member method code with example usage: obj.test_determine_data_format(input_data, metadata) without return types