docs: def as_dtype(self):
          """
          represent the heading as a numpy dtype
          """
          return np.dtype(dict(
              names=self.names,
              formats=[v.dtype for v in self.attributes.values()]))