corriporai / runpandas

RunPandas - Python Package for handing running data from GPS-enabled devices to worldwide race results.
https://runpandas.readthedocs.io/en/latest/
MIT License
23 stars 5 forks source link

ENH: Support to Session Activities #47

Closed marcelcaraciolo closed 3 years ago

marcelcaraciolo commented 3 years ago

it closes #15 .

The solution was to create a pandas.MultiIndex with (start, time) indexes combining several runpandas.Activity DataFrames. We also developed a accessor to the DataFrame so we can compute several metrics over the combined session and a summary function to compute the condensed statistics over all the session activities.

codecov-commenter commented 3 years ago

Codecov Report

Merging #47 (00552da) into master (52de344) will increase coverage by 0.57%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #47      +/-   ##
==========================================
+ Coverage   96.89%   97.47%   +0.57%     
==========================================
  Files          19       21       +2     
  Lines         677      832     +155     
  Branches       83       97      +14     
==========================================
+ Hits          656      811     +155     
  Misses         10       10              
  Partials       11       11              
Impacted Files Coverage Δ
runpandas/_utils.py 97.05% <ø> (+0.23%) :arrow_up:
runpandas/io/gpx/_parser.py 95.00% <ø> (+0.71%) :arrow_up:
runpandas/reader.py 94.87% <ø> (+2.01%) :arrow_up:
runpandas/types/__init__.py 100.00% <ø> (ø)
runpandas/types/acessors/__init__.py 100.00% <ø> (ø)
runpandas/types/acessors/session.py 100.00% <ø> (ø)
runpandas/types/frame.py 94.17% <ø> (+0.11%) :arrow_up:
runpandas/types/summary.py 100.00% <ø> (ø)
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f052353...00552da. Read the comment docs.