I\'m trying to filter sensor data which are present in "inactive working shifts". Meaning I want to compare every DateTime element of a data frame to a list of int