code: def attrgetcol(self, groupname, attrname):
          
          values = []
          for rownr in range(self.attrnrows(groupname)):
              values.append(self.attrget(groupname, attrname, rownr))
          return values
docs: Get the value of an attribute for all rows in a group.