runpandas.read_dir_nikerun#
- runpandas.read_dir_nikerun(dirname, **kwargs)#
Read all NikeRun JSON container files from a supplied directory as runpandas.Activity dataframes, and aggregate them to the same session as a pandas.MultiIndex activity dataframe.
- Parameters
dirname (str, The path to a directory with training files.) – Return a obj:runpandas.Activity if to_df=True, otherwise a
pandas.DataFramewill be returned. Defaults to False.**kwargs (Keyword args to be passed to the read_dir method) –
- Returns
Return a
runpandas.Activitysplit into sessions basedon the pandas.MultiIndex with the date/time of the activity
as first level and the second the timestamps for each record.