weldx.util.pandas_time_delta_to_quantity¶
-
weldx.util.pandas_time_delta_to_quantity(time, unit='s')¶ Convert a
pandas.TimedeltaIndexinto a correspondingpint.Quantity.- Parameters
time (pandas.TimedeltaIndex) – Instance of
pandas.TimedeltaIndexunit (
str) – String that specifies the desired time unit.
- Returns
Converted time quantity
- Return type