code: def test_dataframe_replace_with_nulls():
      # numerical
      pdf1 = pd.DataFrame({"a": [0, 1, 2, 3], "b": [0, 1, 2, 3]})
      gdf1 = cudf.from_pandas(pdf1)
      pdf2 = pdf1.replace(0, 4)
      gdf2 = gdf1.replace(0, None).fillna(4)
      assert_eq(gdf2, pdf2)
  
      # list input
      pdf6 = pdf1.replace([0, 1], [4, 5])
      gdf6 = gdf1.replace([0, 1], [4, None]).fillna(5)
      assert_eq(gdf6, pdf6)
  
      pdf7 = pdf1.replace([0, 1], 4)
      gdf7 = gdf1.replace([0, 1], None).fillna(4)
      assert_eq(gdf7, pdf7)
  
      # dict input:
      pdf8 = pdf1.replace({"a": 0, "b": 0}, {"a": 4, "b": 5})
      gdf8 = gdf1.replace({"a": 0, "b": 0}, {"a": None, "b": 5}).fillna(
          4
      )
      assert_eq(gdf8, pdf8)
  
      gdf1 = cudf.DataFrame({"a": [0, 1, 2, 3], "b": [0, 1, 2, None]})
      gdf9 = gdf1.replace([0, 1], [4, 5]).fillna(3)
      assert_eq(gdf9, pdf6)
  
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 5 for calling a global function with example usage: test_dataframe_replace_with_nulls() without return types