From ed3e5a92529ad1976f26fcbb40fb8d0b6f143d6e Mon Sep 17 00:00:00 2001 From: Antoine CARME Date: Sun, 16 Jun 2024 17:28:09 +0200 Subject: [PATCH] Warning hunt --- tests/func/test_ar.py | 2 +- tests/func/test_cycle.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/func/test_ar.py b/tests/func/test_ar.py index ce1f28323..ff1d006ea 100644 --- a/tests/func/test_ar.py +++ b/tests/func/test_ar.py @@ -7,7 +7,7 @@ #get_ipython().magic('matplotlib inline') b1 = tsds.generate_random_TS(N = 320 , FREQ = 'D', seed = 0, trendtype = "constant", cycle_length = 0, transform = "None", sigma = 0.1, ar_order = 12); -df = b1.mPastData +df = b1.mPastData.copy() df['Signal'] = df[b1.mName] diff --git a/tests/func/test_cycle.py b/tests/func/test_cycle.py index f7d99d4b2..bffd0e369 100644 --- a/tests/func/test_cycle.py +++ b/tests/func/test_cycle.py @@ -7,7 +7,7 @@ #get_ipython().magic('matplotlib inline') b1 = tsds.generate_random_TS(N = 320 , FREQ = 'D', seed = 0, trendtype = "constant", cycle_length = 12, transform = "None", sigma = 0.0); -df = b1.mPastData +df = b1.mPastData.copy() df['Signal'] = df[b1.mName]