I got two datasets. One is the sensor data (blue) and one is the temperature (red). I now want to mathematically figure out if the sensor data has a trend/drift due to e.g. a hardware error but not due to a change in temperature e.g. climate change (It’s obvious that the temperature has a direct impact but this is not what I am interested in). How do I do this in Python?
1