def calculate(cls): cls.g = g = GroupSorted(cls.gind) # pylint: disable-msg=W0201 cls.alla = [ (lag, sw.lagged_groups(cls.x, lag, g.groupidx)) # pylint: disable-msg=W0201 for lag in range(5) ]
def calculate(self): self.g = g = GroupSorted(self.gind) # pylint: disable-msg=W0201 self.alla = [ (lag, sw.lagged_groups(self.x, lag, g.groupidx)) # pylint: disable-msg=W0201 for lag in range(5) ]
def calculate(cls): cls.g = g = GroupSorted(cls.gind) # pylint: disable-msg=W0201 cls.alla = [(lag, sw.lagged_groups(cls.x, lag, g.groupidx)) # pylint: disable-msg=W0201 for lag in range(5)]
def calculate(self): self.g = g = GroupSorted(self.gind) # pylint: disable-msg=W0201 self.alla = [(lag, sw.lagged_groups(self.x, lag, g.groupidx)) # pylint: disable-msg=W0201 for lag in range(5)]
def calculate(self): self.g = g = GroupSorted(self.gind) self.alla = [(lag, sw.lagged_groups(self.x, lag, g.groupidx)) for lag in range(5)]