heartandsole.Activity.from_csv

classmethod Activity.from_csv(filepath_or_buffer)[source]

Construct an Activity from a .csv file.

The CSV file should represent a record DataFrame. Currently the summary and laps data structures are not included.

Parameters

filepath_or_buffer (str, path object or file-like object) – Any acceptable input to pandas.read_csv().

Returns

Activity