[add] negative lags
Bug #537022 reported by
kwgoodman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
larry |
New
|
Wishlist
|
Unassigned |
Bug Description
Add ability to specify a negative lag.
lar.lag(1) currently works; but lar.lag(-1) raises a ValueError:
larry/la/
2604 raise IndexError, 'axis cannot be None.'
2605 if nlag < 0:
-> 2606 raise ValueError, 'nlag cannot be negative'
2607 y = self.copy()
2608 y.label[axis] = y.label[
ValueError: nlag cannot be negative
Changed in larry: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.