code: def test_decimal_column_slicing(
      offset, size, precision, scale, decimal_type
  ):
      col = cudf.core.column.as_column(pd.Series(np.random.rand(1000)))
      col = col.astype(decimal_type(precision, scale))
      column_slicing_test(col, offset, size, True)
  
imports: import cupy
  import numpy
  import pandas
  import pyarrow
  import pytest
  import cudf
  from cudf._lib.transform import mask_to_bools
  from cudf.core.column.column import as_column
  from cudf.testing._utils import assert_eq, assert_exceptions_equal
  from cudf.utils import dtypes
label_desc: Use image node_id 6 for calling a global function with example usage: test_decimal_column_slicing(offset, size, precision, scale, decimal_type) without return types