code: def bench_sample(benchmark, dataframe, axis, frac, random_state):
      if axis == 1 and isinstance(
          random_state, cupy.random.RandomState
      ):
          pytest.skip("Unsupported params.")
      benchmark(
          dataframe.sample,
          frac=frac,
          axis=axis,
          random_state=random_state,
      )
  
imports: import string
  import numpy
  import pytest
  import pytest_cases
  from config import cudf, cupy
  from utils import benchmark_with_object
label_desc: Use image node_id 6 for calling a global function with example usage: bench_sample(benchmark, dataframe, axis, frac, random_state) without return types