You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The interpolatestoptimes() function continues to interpolate past known time values using the last value in the series. This results downstream in a travel time value of 0 between those stops. These consecutive nans at the end of a series should be removed and not interpolated.
The interpolatestoptimes() function continues to interpolate past known time values using the last value in the series. This results downstream in a travel time value of 0 between those stops. These consecutive nans at the end of a series should be removed and not interpolated.
incorrect:
input = nan, 2, 3, nan, 5, 6, nan, nan
output = nan, 2, 3, 4, 5, 6, 6, 6
correct:
input = nan, 2, 3, nan, 5, 6, nan, nan
output = nan, 2, 3, 4, 5, 6 (drop the last consecutive records with nan from result)
The text was updated successfully, but these errors were encountered: