Private
Public Access
1
0

alerts, analysis, api tested

This commit is contained in:
2024-04-21 10:56:37 +02:00
parent 85bd89d3d2
commit 409f4aff63
8 changed files with 124 additions and 117 deletions

View File

@@ -1417,10 +1417,10 @@ def update_strokedata(id, df, debug=False):
def testdata(time, distance, pace, spm): # pragma: no cover
t1 = np.issubdtype(time, np.number)
t2 = np.issubdtype(distance, np.number)
t3 = np.issubdtype(pace, np.number)
t4 = np.issubdtype(spm, np.number)
t1 = time.dtype in pl.NUMERIC_DTYPES
t2 = distance.dtype in pl.NUMERIC_DTYPES
t3 = pace.dtype in pl.NUMERIC_DTYPES
t4 = spm.dtype in pl.NUMERIC_DTYPES
return t1 and t2 and t3 and t4
@@ -1630,7 +1630,7 @@ def read_data(columns, ids=[], doclean=True, workstrokesonly=True, debug=False,
return datadf
def getsmallrowdata_db(columns, ids=[], doclean=True, workstrokesonly=True, compute=True,
def getsmallrowdata_pd(columns, ids=[], doclean=True, workstrokesonly=True, compute=True,
debug=False, for_chart=False):
# prepmultipledata(ids)