code: def group_attrib(self):
          '''
          return a namedtuple containing all attributes attached
          to groups of which the given series is a member
          for each group of which the series is a member
          '''
          group_attributes = [g.attrib for g in self.dataset.groups if self in g]
          if group_attributes:
              return concat_namedtuples(*group_attributesf group_attrib(self):
          '''
          return a namedtuple containing all attributes attached
          to groups of which the given series is a member
          for each group of which the series is a member
          '''
          group_attributes = [g.attrib for g in self.dataset.groups if self in g]
          if group_attributes:
              return concat_namedtuples(*group_attributes)
docs: return a namedtuple containing all attributes attached
          to groups of which the given series is a member
          for each group of which the series is a member