Merge branch 'release/v3.04'
This commit is contained in:
@@ -1128,6 +1128,11 @@ def datafusion(id1,id2,columns,offset):
|
|||||||
df = df.interpolate(method='linear',axis=0,limit_direction='both',
|
df = df.interpolate(method='linear',axis=0,limit_direction='both',
|
||||||
limit=10)
|
limit=10)
|
||||||
df.fillna(method='bfill',inplace=True)
|
df.fillna(method='bfill',inplace=True)
|
||||||
|
|
||||||
|
# Some new stuff to try out
|
||||||
|
df = df.groupby('time',axis=0).mean()
|
||||||
|
df['time'] = df.index
|
||||||
|
df.reset_index(drop=True,inplace=True)
|
||||||
|
|
||||||
df['time'] = df['time']/1000.
|
df['time'] = df['time']/1000.
|
||||||
df['pace'] = df['pace']/1000.
|
df['pace'] = df['pace']/1000.
|
||||||
|
|||||||
@@ -279,7 +279,7 @@ def createsporttracksworkoutdata(w):
|
|||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
w.notes = w.notes+'\n from '+w.workoutsource+' via rowsandall.com',
|
w.notes = w.notes+'\n from '+w.workoutsource+' via rowsandall.com'
|
||||||
except TypeError:
|
except TypeError:
|
||||||
w.notes = 'from '+w.workoutsource+' via rowsandall.com'
|
w.notes = 'from '+w.workoutsource+' via rowsandall.com'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user