We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95c3a2c commit df69796Copy full SHA for df69796
1 file changed
stumpy/core.py
@@ -1255,6 +1255,7 @@ def preprocess(T, m):
1255
T = transpose_dataframe(T)
1256
T = np.asarray(T)
1257
check_dtype(T)
1258
+ check_window_size(m, max_size=T.shape[-1])
1259
1260
T[np.isinf(T)] = np.nan
1261
M_T, Σ_T = compute_mean_std(T, m)
@@ -1294,6 +1295,7 @@ def preprocess_non_normalized(T, m):
1294
1295
1296
1297
1298
1299
1300
1301
T_subseq_isfinite = rolling_isfinite(T, m)
0 commit comments