heartandsole.Activity.timestamp.end¶
- Activity.timestamp.end(source='records')[source]¶
Return end time as a datetime.
- Parameters
source (str) –
Source from which to obtain end time.
records(default): last timestamp in the records DataFrame.summary: lastendtimestamp in the summary Series.laps: lastendtimestamp in the laps DataFrame.
- Returns
End time according to the requested source. If the Activity does not possess the requested data source, return None.
- Return type
pandas.Timestamp, datetime.datetime, or None
- Raises
ValueError – If source is not a valid option.