code: def test_series_map_box_timestamps():
      # GH#2689, GH#2627
      ser = Series(date_range("1/1/2000", periods=3))
  
      def func(x):
          return (x.hour, x.day, x.month)
  
      result = ser.map(func)
      expected = Series([(0, 1, 1), (0, 2, 1), (0, 3, 1)])
      tm.assert_series_equal(result, expected)
  
imports: from collections import Counter, defaultdict
  from decimal import Decimal
  import math
  import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index, MultiIndex, Series, bdate_range, date_range, isna, timedelta_range
  import pandas._testing
label_desc: Use image node_id 4 for calling a global function with example usage: test_series_map_box_timestamps() and returns: x,  x,  x