docs: def trend_coefficients(self, order=LINEAR):
          '''Calculate trend coefficients for the specified order.'''
          if not len(self.points):
              raise ArithmeticError('Cannot calculate the trend of an empty series')
          return LazyImport.numpy().polyfit(self.timestamps, self.values, order)