DataFrame.truncate()
pandas.DataFrame.truncate
-
DataFrame.truncate(before=None, after=None, axis=None, copy=True)
-
Truncates a sorted NDFrame before and/or after some particular dates.
Parameters: before : date
Truncate before date
after : date
Truncate after date
axis : the truncation axis, defaults to the stat axis
copy : boolean, default is True,
return a copy of the truncated section
Returns: truncated : type of caller
© 2011–2012 Lambda Foundry, Inc. and PyData Development Team
© 2008–2011 AQR Capital Management, LLC
© 2008–2014 the pandas development team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.18.1/generated/pandas.DataFrame.truncate.html