pandas 0.7.3 documentation

pandas.Series.truncate

Series.truncate(before=None, after=None, copy=True)

Function truncate a sorted DataFrame / Series before and/or after some particular dates.

Parameters :

before : date

Truncate before date

after : date

Truncate after date

Returns :

truncated : type of caller