Ada Canaydin
07/19/2022, 12:31 PM--> 916 ts_features = pool.starmap(partial_get_feats, ts.groupby('unique_id'))
TypeError: 'str' object is not callable.
If you have any recommendations on how to tackle this problem, it is much appreciated! I also attached my df here and thank you in advance :)fede (nixtla) (they/them)
07/19/2022, 8:39 PMtsfeatures
. :D
The argument features
receives a list of functions, so it is necessary to import acf_features
. Also, the freq
argument should be an integer instead of a string. Since you are using 30T
data, freq=48
might be a good option (to reflect daily seasonality).
With these changes the code would be,
from tsfeatures import acf_features
tsfeatures(panel, freq=48, features=[acf_features])
Please let me know if you have any other questions. Happy to help. :)Ada Canaydin
07/21/2022, 1:58 PM