weldx.util.get_time_union

weldx.util.get_time_union(list_of_objects)

Generate a merged union of pandas.DatetimeIndex from list of inputs.

The functions tries to merge common inputs that are “time-like” or might have time coordinates such as xarray objects, LocalCoordinateSystem and other time objects. See to_pandas_time_index for supported input object types.

Parameters

list_of_objects (List[Union[DatetimeIndex, TimedeltaIndex]]) – list of input objects to merge

Returns

Pandas time index class with merged times

Return type

Union[pandas.DatetimeIndex, pandas.TimedeltaIndex]