core.py AttributeError: 'float' object has no attribute 'copy' #1096
Replies: 3 comments
-
@PatrickKudo Thank you for your question and welcome to the STUMPY community. Can you please provide a simple, reproducible code example that demonstrates your error? Your data should look like this:
even this works:
Are you able to update to the latest version of STUMPY? |
Beta Was this translation helpful? Give feedback.
-
I think perhaps I am misunderstanding the expected input to ostinato. Is it expecting a list of separate time series like:
Not a list of separate time series joined into one time series as a list? I.e.:
If it is not the latter, then I am using it wrong. I was trying to do:
|
Beta Was this translation helpful? Give feedback.
-
Yes, that is correct!
Yes, exactly! It's either a list of lists or a list of numpy arrays as shown above. Please note that at the bottom of each API function (example), there is usually an "Examples" section that provides a clear working code example that might help |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When using
stumpy.ostinato
on a list objectTs
containing float values, I get an AttributeError. The issue is traced back toT = T.copy()
in the_preprocess(T)
function incore.py
. I have tried preprocessing my list object containing multiple times series joined together asnp.ndarray
type before passing it through the ostinato function with no success. Usingstumpy==1.11.1
. Appreciate any suggestions, thanks!Beta Was this translation helpful? Give feedback.
All reactions