TimeSelector.rangex

time.TimeSelector.rangex(from_date, until_date, step=None)

Subset the time frame by providing the start and end date (exclusive).

Parameters

from_date: date | str

the starting date of the range, as a date object or an ISO-8601 string

until_date: date | str

the stop date date of the range (the first date excluded) as a date object or an ISO-8601 string

step: int = None

if given, narrow the selection to a specific tau step (by index) within the date range; by default include all steps

Returns

TimeSelection

The selection strategy object.