### Navigation

- index
- modules |
- next |
- previous |
- pandas 0.14.1 documentation »
- API Reference »

# pandas.Series.last

`Series.``last`(offset)

  Convenience method for subsetting final periods of time series data based on a date offset

  Parameters : | offset : string, DateOffset, dateutil.relativedelta
  Returns : | subset : type of caller

  Examples

  ts.last(‘5M’) -> Last 5 months

### Navigation

- index
- modules |
- next |
- previous |
- pandas 0.14.1 documentation »
- API Reference »