diff --git a/rowers/dataroutines.py b/rowers/dataroutines.py index c6bdef6c..26939338 100644 --- a/rowers/dataroutines.py +++ b/rowers/dataroutines.py @@ -249,8 +249,7 @@ def get_video_data(w, groups=['basic'], mode='water'): df2 = pd.concat([df2, coordinates], axis=1) latitude = df2['latitude'] longitude = df2['longitude'] - boatspeed = (100*df2['velo']).astype(int)/100. - + boatspeed = (100*df2['velo'].fillna(method='ffill')).astype(int)/100. # bundle data data = { 'boatspeed': boatspeed.values.tolist(),