code: def test_dataframe_sliced(gdf, slice, max_seq_items, max_rows):
      pd.options.display.max_seq_items = max_seq_items
      pd.options.display.max_rows = max_rows
      pdf = gdf.to_pandas()
  
      sliced_gdf = gdf[slice]
      sliced_pdf = pdf[slice]
  
      expected_repr = repr(sliced_pdf).replace("None", "<NA>")
      actual_repr = repr(sliced_gdf)
  
      assert expected_repr == actual_repr
      pd.reset_option("display.max_rows")
      pd.reset_option("display.max_seq_items")
  
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 16 for calling a global function with example usage: test_dataframe_sliced(gdf, slice, max_seq_items, max_rows) without return types