code: def time_dt64arr_to_periodarr(self, size, freq, tz):
      dt64arr_to_periodarr(self.i8values, freq, tz)
  
imports: import numpy
  from pandas._libs.tslibs.period import Period, periodarr_to_dt64arr
  from pandas.tseries.frequencies import to_offset
  from .tslib import _sizes, _tzs, tzlocal_obj
label_desc: Use image node_id 2 for calling the TimeDT64ArrToPeriodArr obj's underlying member method code with example usage: obj.time_dt64arr_to_periodarr(size, freq, tz) without return types