pynapple.core.time_series.Tsd.as_units#

Tsd.as_units(units='s')[source]#

Returns a pandas Series with time expressed in the desired unit.

Parameters:

units (str, optional) – (‘us’, ‘ms’, ‘s’ [default])

Returns:

the series object with adjusted times

Return type:

pandas.Series