code: def test_from_dataframe():
      data = dict(a=[1, 2, 3], b=[9, 10, 11])
      df1 = cudf.DataFrame(data=data)
      df2 = cudf.from_dataframe(df1)
      assert_eq(df1, df2)
  
      df3 = cudf.from_dataframe(df2)
      assert_eq(df1, df3)
  
imports: from typing import Any, Tuple
  import cupy
  import pandas
  import pytest
  import cudf
  from cudf.core._compat import PANDAS_GE_150
  from cudf.core.buffer import as_buffer
  from cudf.core.column import as_column, build_column
  from cudf.core.df_protocol import DataFrameObject, _CuDFBuffer, _CuDFColumn, _DtypeKind, _MaskKind, _protocol_buffer_to_cudf_buffer, from_dataframe, protocol_dtype_to_cupy_dtype
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 9 for calling a global function with example usage: test_from_dataframe() without return types