docs: def array_from_raw_qtemporal(raw, qtype):
      '''
      Converts `numpy.array` containing raw q representation to ``datetime64``/``timedelta64``
      array.
      
      Examples:
      
        >>> raw = numpy.array([366, 121, qnull(QDATE)])
        >>> print(array_from_raw_qtemporal(raw, qtype = QDATE))
        ['2001-01-01' '2000-05-01' 'NaT']
      
      :Parameters:
       - `raw` (`numpy.array`) - numpy raw array to be converted
       - `qtype` (`integer`) - qtype indicator
      
      :returns: `numpy.array` - numpy array with ``datetime64``/``timedelta64``
      
      :raises: `ValueError`
      '''
      if not isinstance(raw, numpy.ndarray):
          raise ValueError('raw parameter is expected to be of type: numpy.ndarray. Was: %s' % type(raw))
  
      qtype = -abs(qtype)
      conversion = _FROM_RAW_LIST[qtype]
  
      mask = raw == qnull(qtype)
  
      dtype = PY_TYPE[qtype]
      array = raw.astype(dtype) if dtype != raw.dtype else raw
  
      array = conversion(array) if conversion else array
      null = _NUMPY_NULL[qtype]
      array = numpy.where(mask, null, array)
      return array