code: def test_dataframe_unsupported_types() -> None:
      df = pl.DataFrame({"a": [[4], [5, 6]]})
      dfi = PolarsDataFrame(df)
  
      # Generic dataframe operations work fine
      assert dfi.num_rows() == 2
  
      # Certain column operations also work
      col = dfi.get_column_by_name("a")
      assert col.num_chunks() == 1
  
      # Error is raised when unsupported operations are requested
      with pytest.raises(ValueError, match="not supported"):
          col.dtype
  
imports: from __future__ import annotations
  import pytest
  import polars
  from polars.interchange.dataframe import PolarsDataFrame
  from polars.interchange.protocol import CopyNotAllowedError
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 24 for calling a global function with example usage: test_dataframe_unsupported_types() without return types