added unduplication
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user