pynapple.core.time_series.Ts.as_units#

Ts.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