runpandas.read_nikerun#
- runpandas.read_nikerun(file_path, to_df=False, **kwargs)#
This method loads a NikeRun API response in JSON file into a Pandas DataFrame or runpandas Activity. Column names are translated to runpandas terminology (e.g. “HeartRate” > “heart_rate”). Datetimes indexes are replaced by time offsets. All NaN rows are removed.
- Parameters
- Returns
Return a obj – a
pandas.DataFramewill be returned.- Return type
runpandas.Activity if to_df=True, otherwise