code: def test_tz_localize():
      data = Series(date_range("2000-04-01", "2000-04-03", freq="H"))
      expect = data.dt.tz_localize(
          "US/Eastern", ambiguous="NaT", nonexistent="NaT"
      )
      got = dgd.from_cudf(data, 2).dt.tz_localize(
          "US/Eastern", ambiguous="NaT", nonexistent="NaT"
      )
      dd.assert_eq(expect, got)
  
      expect = expect.dt.tz_localize(None)
      got = got.dt.tz_localize(None)
      dd.assert_eq(expect, got)
  
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_series_equal
  from dask import dataframe
  from cudf import DataFrame, Series, date_range
  from cudf.testing._utils import assert_eq, does_not_raise
  import dask_cudf
label_desc: Use image node_id 39 for calling a global function with example usage: test_tz_localize() without return types