pandas.Panel.truncate

Panel.truncate(before=None, after=None, axis='major')

Function truncates a sorted Panel before and/or after some particular values on the requested axis

Parameters :

before : date

Left boundary

after : date

Right boundary

axis : {‘major’, ‘minor’, ‘items’}

Returns :

Panel :