code: def execute_cast_timestamp_to_timestamp(op, data, type, **kwargs):
      
      input_timezone = data.tz
      target_timezone = type.timezone
  
      if input_timezone == target_timezone:
          return data
  
      if input_timezone is None or target_timezone is None:
          return data.tz_localize(target_timezone)
  
      return data.tz_convert(target_timezone)
docs: Cast timestamps to other timestamps including timezone if necessary