''DataFrame' object has no attribute '_assert_univariate' Dart check_seasonality error

This is the code: for m in range(2, 100): is_seasonal, period = check_seasonality(train, m=m, alpha=.05) if is_seasonal: print('There is seasonality of order {}.'.format(period))

Dataset: Time country customer brand category gmv_actual 54 2020-01-14 0 0 16 0 71425.011246
55 2020-01-14 0 0 2 1 1904.592675 56 2020-01-14 0 0 4 1 1777.309036 57 2020-01-14 0 0 21 1 912.792411
58 2020-01-14 0 0 24 2 196.505411



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source