heartandsole.Activity.timestamp.start¶
- Activity.timestamp.start(source='records')[source]¶
Return start time as a datetime.
- Parameters
source (str) –
Source from which to obtain start time.
records(default): first timestamp in the records DataFrame.summary: firststarttimestamp in the summary Series.laps: firststarttimestamp in the laps DataFrame.
- Returns
Start 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.