code: def test_full_dataframe_20(dtype, size, nrows, ncols):
      pdf = pd.DataFrame(
          {idx: np.random.randint(0, 100, size) for idx in range(size)}
      ).astype(dtype)
      gdf = cudf.from_pandas(pdf)
  
      with pd.option_context(
          "display.max_rows",
          int(nrows),
          "display.max_columns",
          int(ncols),
      ):
          assert repr(pdf) == repr(gdf)
          assert pdf._repr_html_() == gdf._repr_html_()
          assert pdf._repr_latex_() == gdf._repr_latex_()
  
imports: import textwrap
  import cupy
  import numpy
  import pandas
  import pytest
  from hypothesis import given, settings, strategies
  import cudf
  from cudf.testing import _utils
  from cudf.utils.dtypes import np_dtypes_to_pandas_dtypes
label_desc: Use image node_id 4 for calling a global function with example usage: test_full_dataframe_20(dtype, size, nrows, ncols) without return types