code: def labels(self):
          
          label_array = self.header['label']['value']
          labels = tuple(''.join(row.astype(str)) for row in label_array)
  
          try:
              nlabels = int(self.header['nlabl']['value'])
          except KeyError:
              nlabels = len(labels)
  
          # Check if there are nontrivial labels after the number given in
          # the header. If yes, ignore the 'nlabl' information and return
          # all labels.
          if any(label.strip() for label in labels[nlabels:]):
              return labels
          else:
              return labels[:nlabels]
docs: Return the 10-tuple of text labels from `header`.
  
          The value is determined from the header entries ``'nlabl'`` and
          ``'label'``.