docs: def trend(self, **kwargs):
          '''Calculate a trend for all series in the group. See the
          `TimeSeries.trend()` method for more information.'''
          return DataFrame({ name: series.trend(**kwargs) \
              for name, series in self.groups.iteritems() })