weldx.utility.
to_pandas_time_index
Convert a time variable to the corresponding pandas time index type.
time (Union[Quantity, ndarray, TimedeltaIndex, DatetimeIndex, DataArray, LocalCoordinateSystem]) – Variable that should be converted.
Union
Quantity
ndarray
TimedeltaIndex
DatetimeIndex
DataArray
LocalCoordinateSystem
Time union of all input objects
pandas.TimedeltaIndex or pandas.DatetimeIndex