code: def test_from_dataframe_invalid_type() -> None:
      df = [[1, 2], [3, 4]]
      with pytest.raises(TypeError):
          pl.from_dataframe(df)
  
imports: from __future__ import annotations
  from typing import Any
  import pandas
  import pyarrow
  import pytest
  import polars
  import polars.interchange.from_dataframe
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 8 for calling a global function with example usage: test_from_dataframe_invalid_type() without return types