code: def test_roundtrip_pandas_zero_copy_parametric(
      df: pl.DataFrame,
  ) -> None:
      dfi = df.__dataframe__(allow_copy=False)
      df_pd = pd.api.interchange.from_dataframe(dfi, allow_copy=False)
      result = pl.from_pandas(df_pd, nan_to_null=False)
      assert_frame_equal(result, df, categorical_as_str=True)
  
file_path: polars/py-polars/tests/unit/interchange/test_roundtrip.py
imports: from __future__ import annotations
  import pandas
  import pyarrow
  import pyarrow.interchange
  import pytest
  from hypothesis import given
  import polars
  from polars.testing import assert_frame_equal
  from polars.testing.parametric import dataframes
label_desc: Use image node_id 4 for calling a global function with example usage: test_roundtrip_pandas_zero_copy_parametric(df) without return types