microsoft / msticpy

Microsoft Threat Intelligence Security Tools
Other
1.72k stars 310 forks source link

[Bug]: ValueError: endog must have ndim <= 1 #732

Open mRuggi opened 8 months ago

mRuggi commented 8 months ago

Describe the bug I'm experiencing a bug while trying the timeseries analysis demo

To Reproduce Steps to reproduce the behavior: I've downloaded the example dataset, indexed on the time column and tried to call the ts_anomalies_stl method on it

Screenshots and/or Traceback bug Environment (please complete the following information):

ixfd64 commented 8 months ago

One temporary solution is to pass the data as a Series to the STL function:

ts_anomalies_stl(stldemo['TotalBytesSent'])