Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dickey Fuller failure
#2
Do you mean "sensor_04"? The error message says and the posted code say "sensor_04".

If it works for some sensors and not for others, I would examine how this differs for different sensors.
image_data_org['sensor_0X']
If Dickey-Fuller works for sensor_2 and fails for sensor_4, the value in image_data_org[] will differ. It sounds like it will differ structurally. The error message says the program failed because it expects image_data_org['sensor_04'] to be a 1D array but it is really a 2D array.

To debug, fund two examples; one that runs the Dickey-Fuller test and one that fails, Look at the shape of the array you are passing to the test. How do they differ. If you still have problems after that, report back with what you discovered.
Reply


Messages In This Thread
Dickey Fuller failure - by Led_Zeppelin - Sep-13-2022, 03:54 PM
RE: Dickey Fuller failure - by deanhystad - Sep-13-2022, 04:29 PM
RE: Dickey Fuller failure - by Led_Zeppelin - Sep-13-2022, 05:19 PM
RE: Dickey Fuller failure - by deanhystad - Sep-13-2022, 05:55 PM
RE: Dickey Fuller failure - by Led_Zeppelin - Sep-15-2022, 09:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Failure to run source command middlestudent 2 759 Sep-22-2023, 01:21 PM
Last Post: buran
  Statsmodels, Dickey-Fuller test for stationarity Led_Zeppelin 1 990 Aug-17-2022, 06:36 PM
Last Post: Larz60+
  Assert failure jtcostel 1 1,673 Sep-03-2021, 05:28 PM
Last Post: buran
  xml decoding failure(bs4) roughstroke 1 2,320 May-09-2020, 04:37 PM
Last Post: snippsat
  SCIKIT learn failure in mac Perja11 1 2,350 Nov-30-2019, 06:44 PM
Last Post: snippsat
  failure to find modules justus123 2 4,310 Dec-14-2018, 04:28 PM
Last Post: nilamo
  LIB install failure Able98 2 3,967 Jun-07-2017, 06:41 PM
Last Post: Able98

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020