extract combined exercise module
This commit is contained in:
parent
6b451336ed
commit
5b501d1562
2 changed files with 23 additions and 10 deletions
17
my/body/exercise/all.py
Normal file
17
my/body/exercise/all.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
'''
|
||||
Combined exercise data
|
||||
'''
|
||||
from ...core.pandas import DataFrameT, check_dataframe
|
||||
|
||||
|
||||
@check_dataframe
|
||||
def dataframe() -> DataFrameT:
|
||||
# this should be somehow more flexible...
|
||||
from ...endomondo import dataframe as EDF
|
||||
from ...runnerup import dataframe as RDF
|
||||
|
||||
import pandas as pd # type: ignore
|
||||
return pd.concat([
|
||||
EDF(),
|
||||
RDF(),
|
||||
])
|
Loading…
Add table
Add a link
Reference in a new issue