Skip to content

Doing something after running a function n times

I’ve asked questions regarding this project before. I’m almost done, but I need one more thing. It’s about water spillage in pipes. It reads from two temperature sensors, and calculate a temperature difference as well. It should notify by email after a certain number of measurements, if the …

Pandas save to_csv format not tabbing spaces

I want to write some data using a panda frame to a .dat file. Saving isnt an issue its formating. I’ve used sep = ‘t’ but it only some times places a tab between data. My code looks like this: the resulting data: Why? and how do I fix this? Im also trying to set up my code so the