added unduplication
This commit is contained in:
@@ -1129,6 +1129,11 @@ def datafusion(id1,id2,columns,offset):
|
|||||||
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.
|
||||||
df['cum_dist'] = df['cumdist']
|
df['cum_dist'] = df['cumdist']
|
||||||
|
|||||||
Reference in New Issue
Block a user