weldx.time.Time.as_pandas_index

Time.as_pandas_index()

Return a pandas index type regardless of length.

This is useful when using time as coordinate in xarray types.

Return type

Union[TimedeltaIndex, DatetimeIndex]