pydata/pandas — Issue #865: add first, last time subsetting functions
Author: adamklein
Created: 2012-03-05 17:16:08+00:00
State: open
Labels: datetime, Enhancement

Like xts has.

eg, something like

ts.first("5W") # first five weeks of data
ts.first("7D") # first seven days
ts.last("3W").first("3B") # first 3 biz days of last three weeks