pynapple.core.time_series.TsdFrame.as_units# TsdFrame.as_units(units='s')[source]# Returns a DataFrame 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.DataFrame