code: def test_replace_inplace(pframe, replace_args):
      gpu_frame = cudf.from_pandas(pframe)
      pandas_frame = pframe.copy()
  
      gpu_copy = gpu_frame.copy()
      cpu_copy = pandas_frame.copy()
  
      assert_eq(gpu_frame, pandas_frame)
      assert_eq(gpu_copy, cpu_copy)
      gpu_frame.replace(**replace_args)
      pandas_frame.replace(**replace_args)
      assert_eq(gpu_frame, pandas_frame)
      assert_eq(gpu_copy, cpu_copy)
  
imports: import re
  from decimal import Decimal
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf.core._compat import PANDAS_GE_134, PANDAS_GE_150
  from cudf.core.dtypes import Decimal32Dtype, Decimal64Dtype, Decimal128Dtype
  from cudf.testing._utils import INTEGER_TYPES, NUMERIC_TYPES, assert_eq, assert_exceptions_equal
label_desc: Use image node_id 22 for calling a global function with example usage: test_replace_inplace(pframe, replace_args) without return types