How to vectorize a Pandas dataframe calculation using two rows to calculate a third?
I have an enormous dataframe containing sensor data harvested from a chassis containing nearly 30 embedded processors while it was undergoing environmental stress testing. The vast majority of the sensors are for temperature, but there ar…