get_common_start_and_end(*containers: qf_lib.containers.time_indexed_container.TimeIndexedContainer) → Tuple[datetime.datetime, datetime.datetime][source]¶
Finds the first and last valid dates (with a value different than NaN) for each column and then returns the latest of starting dates and the soonest ending date.
If one of containers is dataframe then it is split into separate columns first.
containers – list of containers for which the common beginning and ending should be found
(common_start, common_end) - (soonest date on which data for all series is already available, latest date on which data for all series is still available)
- Return type