code: def test_from_dataframe_pandas() -> None:
      data = {"a": [1, 2], "b": [3.0, 4.0], "c": ["foo", "bar"]}
  
      # Pandas dataframe
      df = pd.DataFrame(data)
      result = pl.from_dataframe(df)
      expected = pl.DataFrame(data)
      assert_frame_equal(result, expected)
  
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 4 for calling a global function with example usage: test_from_dataframe_pandas() without return types