code: def test_tz_aware_attributes_local():
      data = [
          "2008-05-12 13:50:00",
          "2008-12-12 14:50:35",
          "2009-05-12 13:50:32",
      ]
      dti = (
          cudf.DatetimeIndex(data)
          .tz_localize("UTC")
          .tz_convert("US/Eastern")
      )
      result = dti.hour
      expected = cudf.Index([9, 9, 9], dtype="int16")
      assert_eq(result, expected)
  
file_path: cudf/python/cudf/cudf/tests/series/test_datetimelike.py
imports: import os
  import pandas
  import pytest
  import cudf
  from cudf import date_range
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 13 for calling a global function with example usage: test_tz_aware_attributes_local() without return types