get_values_for_common_dates

qf_lib.common.utils.dateutils.get_values_common_dates.get_values_for_common_dates(*containers: qf_lib.containers.time_indexed_container.TimeIndexedContainer, remove_nans: bool = False) → List[qf_lib.containers.time_indexed_container.TimeIndexedContainer][source]

Gets list/tuple of series/dataframes (possibly mixed) and finds the common dates for all of them. Then it returns corresponding series/dataframes as a list. All series and dataframes in the result list contain only values for common dates.

Parameters
  • containers – variable length list of arguments where each of the arguments is a TimeIndexedContainer

  • remove_nans – if True, then all incomplete rows will be removed from each provided container before finding common dates

Returns

list composed of TimeIndexedContainers containing only values for common dates

Return type

List