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
Whenever one of the dates fed to model.fit() has the hour or minute set to something else then 0, the error IndexError: boolean index did not match indexed array along dimension 1; dimension is 151 but corresponding boolean dimension is 152 is thrown.
This works also for the example code, when one value is modified like:
Whenever one of the dates fed to
model.fit()
has the hour or minute set to something else then 0, the errorIndexError: boolean index did not match indexed array along dimension 1; dimension is 151 but corresponding boolean dimension is 152
is thrown.This works also for the example code, when one value is modified like:
The error occurs in
map_indices
bfast/bfast/monitor/utils.py
Line 477 in 4fd0c17
where an empty array with shape
(0, )
is returned, because~np.isnan(ts).to_numpy()
is False for every element.A fix workaround for me is to use
date
instead ofdatetime
objects.I can also try to come up with a better fix, but that would need some time.
The text was updated successfully, but these errors were encountered: