I want to make an average every 23 hours from 10:00 a.m to 9:00 a.m. the next day. but i can't find solution
newDf = Data_s.resample(rule='H').mean()
I think I can change this code, but I don't know how. My data are divided from March 11th to April 10th, 23. like that 2022-03-11 00:00 2022-03-11 00:01 .... 2022-04-11 00:00
I would appreciate it if you could let me know if there is a way
thank you
i try like that
newDf = Data_s.resample(rule='23H',origin=).mean()
but It only makes an average for 23 hours in a row. and other simple method is delete data (just 8 a.m) but i want to know how can make it by code thank you.